forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-2520: [Rust] CI should also build against nightly Rust
Author: Krisztián Szűcs <[email protected]> Closes apache#2477 from kszucs/ARROW-2520 and squashes the following commits: 79b1e7a <Krisztián Szűcs> check against "Rust" in appceyor-install.bat 4a31a42 <Krisztián Szűcs> fix install script 99b99b6 <Krisztián Szűcs> set rust stable toolchain as default after running tests on appveyor f941121 <Krisztián Szűcs> use rustup environment variable 15b6358 <Krisztián Szűcs> don't parenthesize 07db3d9 <Krisztián Szűcs> make travis_install_cargo executable 8af4c76 <Krisztián Szűcs> test both stable and nightly rust in the same CI step 2720e1e <Krisztián Szűcs> remove rust from allow_failures c5dd144 <Krisztián Szűcs> separate matrix step 7983976 <Krisztián Szűcs> remove beta channel 40c0ed8 <Krisztián Szűcs> rust against rust nightly
- Loading branch information
Showing
6 changed files
with
61 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
set -e | ||
|
||
# ensure that both toolchains are installed | ||
rustup install stable | ||
rustup install nightly | ||
|
||
pip install 'travis-cargo<0.2' --user | ||
|
||
export PATH=$HOME/.local/bin:$PATH | ||
export CARGO_TARGET_DIR=$TRAVIS_BUILD_DIR/target | ||
|
||
cargo install cargo-travis || echo "Skipping cargo-travis installation as it already exists in cache" | ||
export PATH=$HOME/.cargo/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters