Skip to content

Commit

Permalink
Tweak CI behavior slightly to not update rust so much
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wh committed May 14, 2021
1 parent dc3dbcd commit 4e8d6cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ matrix:

before_install:
- set -e
- rustup self update
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then rustup default stable-msvc ; fi
- rustup toolchain install nightly
# - rustup self update
# - if [ "$TRAVIS_OS_NAME" = "windows" ]; then rustup default stable-msvc ; fi
# - rustup toolchain install nightly

install:
- sh ci/install.sh
Expand Down
3 changes: 2 additions & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ main() {
test -f Cargo.lock || cargo generate-lockfile

# Currently the --out-dir flag is 'unstable' so unfortunately need to switch to nightly for the build to work properly
rustup default nightly
# Don't need to use this currently as the rust-toolchain file specifies the rust version to use
# rustup default nightly
cargo make build-target-release


Expand Down

0 comments on commit 4e8d6cf

Please sign in to comment.