polaris/.travis.yml

36 lines
684 B
YAML
Raw Normal View History

dist: trusty
sudo: false
2016-09-15 06:39:18 +00:00
language: rust
rust:
- stable
- beta
- nightly
2017-07-04 06:59:33 +00:00
2017-07-04 07:17:40 +00:00
addons:
apt:
packages:
- oracle-java8-installer
2017-07-04 07:25:00 +00:00
- oracle-java8-set-default
2017-07-04 07:17:40 +00:00
2016-09-15 06:39:18 +00:00
matrix:
allow_failures:
- rust: beta
2017-07-04 06:59:33 +00:00
- rust: nightly
before_install:
- java -version
2017-07-04 07:08:53 +00:00
- wget http://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar -O selenium.jar
- java -jar selenium.jar &
- npm install -g nightwatch
- nightwatch -v
2017-07-04 11:05:33 +00:00
- npm install -g phantomjs-prebuilt
- phantomjs -v
2017-07-04 10:36:35 +00:00
- npm install node-fetch --no-save
2017-07-04 06:59:33 +00:00
2017-07-04 07:17:40 +00:00
script:
- cargo build --verbose
2017-07-04 07:54:39 +00:00
- cargo test --verbose
2017-07-04 08:23:37 +00:00
- cargo run -- -d test/db.sqlite -w web &
2017-07-04 07:54:39 +00:00
- sleep 5
- nightwatch