mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Update travis script for 2019.
This commit is contained in:
29
.travis.yml
29
.travis.yml
@@ -1,24 +1,15 @@
|
|||||||
language: rust
|
language: cpp
|
||||||
rust:
|
dist: bionic
|
||||||
- stable
|
compiler:
|
||||||
- beta
|
- clang
|
||||||
- nightly
|
- gcc
|
||||||
- 1.28.0 # Ubuntu Bionic and Xenial
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- rust: nightly
|
|
||||||
- rust: 1.28.0
|
|
||||||
fast_finish: true
|
|
||||||
|
|
||||||
cache: cargo
|
|
||||||
|
|
||||||
# Custom directory, for the correct year
|
# Custom directory, for the correct year
|
||||||
before_script:
|
before_script:
|
||||||
- cd 2018
|
- cd 2019
|
||||||
|
|
||||||
# After success on stable, run benchmark
|
# CMake build
|
||||||
after_success:
|
script:
|
||||||
- if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
|
- cmake .
|
||||||
cargo bench;
|
- make
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user