Skip to content

Commit

Permalink
Improve travis code
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed May 6, 2017
1 parent 36956ee commit ca5aaef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ env: TARGET=x86_64-unknown-linux-gnu
matrix:
include:
- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-gnu RUST_BETA=1
- env: TARGET=x86_64-unknown-linux-gnu
rust: beta
- env: TARGET=i686-unknown-linux-gnu RUST_BETA=1
- env: TARGET=i686-unknown-linux-gnu
rust: beta
- env: TARGET=x86_64-unknown-linux-gnu RUST_NIGHTLY=1
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
- env: TARGET=i686-unknown-linux-gnu RUST_NIGHTLY=1
- env: TARGET=i686-unknown-linux-gnu
rust: nightly

before_install: set -e
Expand Down
4 changes: 2 additions & 2 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ main() {
cross test --target $TARGET
cross test --target $TARGET --release

[ -z "$RUST_NIGHTLY" ] || cross test --feature x128 --target $TARGET
[ -z "$RUST_NIGHTLY" ] || cross test --feature x128 --target $TARGET --release
[ "$TRAVIS_RUST_VERSION" -eq "nightly" ] && cross test --feature x128 --target $TARGET
[ "$TRAVIS_RUST_VERSION" -eq "nightly" ] && cross test --feature x128 --target $TARGET --release

cross test --no-default-features --target $TARGET
cross test --no-default-features --target $TARGET --release
Expand Down

0 comments on commit ca5aaef

Please sign in to comment.