Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build downgrading rust #101

Merged
merged 2 commits into from
May 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ env:
os:
- linux
rust:
- nightly
# TODO: #103 temporarily downgrade Rust nightly to 2018-04-28, waiting for Rocket 0.3.* to be fixed concerning the usage of Rust (nightly) removed feature macro_reexport.
# (https://github.com/rust-lang/rust/issues/29638)
- nightly-2018-04-28
services:
- docker
- postgresql
before_script:
- createdb -h $DB_HOST -U $DB_USER -w $DB_NAME
script:
- docker run --user=$UID --env HOME=/tmp --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder bash -c 'rustup default nightly; rustup target add x86_64-unknown-linux-musl ; cargo build --release ;'
- docker run --user=$UID --env HOME=/tmp --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder bash -c 'rustup default nightly-2018-04-28; rustup target add x86_64-unknown-linux-musl ; cargo build --release ;'
- ./target/x86_64-unknown-linux-musl/release/sentence-aligner &
- SERVICE_PID=$!
- cargo test
Expand Down
Loading