Skip to content

Commit

Permalink
Fix build downgrading rust (#101)
Browse files Browse the repository at this point in the history
* cargo packages global upgrade

* temporarily downgrade Rust to version 2018-04-28, waiting for Rocket 0.3 to remove usage of macro_reexport deleted feature
  • Loading branch information
jean553 authored and allan-simon committed May 4, 2018
1 parent 403c5c0 commit 1888fa8
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 80 deletions.
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

0 comments on commit 1888fa8

Please sign in to comment.