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:
|
2017-07-04 07:31:10 +00:00
|
|
|
- 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
|
2017-07-04 07:31:10 +00:00
|
|
|
- java -jar selenium.jar &
|
|
|
|
- npm install -g nightwatch
|
|
|
|
- nightwatch -v
|
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
|