Skip to content

Commit

Permalink
update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Sep 14, 2018
1 parent 1e722f8 commit bab2083
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ env:

matrix:
include:
# Stable channel.
- env: TARGET=x86_64-unknown-linux-gnu
# Beta channel.
- env: TARGET=x86_64-unknown-linux-gnu
rust: beta
# Nighly channel.
# NOTE: Change back to stable after 2018 Edition merged.
## Stable channel.
#- env: TARGET=x86_64-unknown-linux-gnu
## Beta channel.
#- env: TARGET=x86_64-unknown-linux-gnu
# rust: beta
## Nighly channel.
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly

Expand Down Expand Up @@ -55,4 +56,5 @@ deploy:
github-token: $GITHUB_TOKEN
keep-history: true
on:
condition: "$TRAVIS_RUST_VERSION = stable"
# NOTE: Change back to stable after 2018 Edition merged.
condition: "$TRAVIS_RUST_VERSION = nightly"

0 comments on commit bab2083

Please sign in to comment.