Skip to content

Commit 5c94981

Browse files
committed
Remove example from travis conf
Travis weirdness ... and another one ... and another one
1 parent 1f2491b commit 5c94981

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.travis.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
sudo: required
21
language: python
32

3+
cache:
4+
directories:
5+
- ~/.rustup
6+
47
matrix:
8+
fast_finish: true
59
include:
6-
- python: "2.7"
7-
- python: "3.5"
8-
- python: "3.6"
9-
- python: "3.7-dev"
10+
- python: "2.7"
11+
- python: "3.5"
12+
- python: "3.6"
13+
- python: "3.7-dev"
1014
allow_failures:
11-
- python: "3.7-dev"
12-
13-
env:
14-
- RUST_VERSION=nightly
15+
- python: "3.7-dev"
1516

1617
install:
17-
- python -c "import sysconfig; print('\n'.join(map(repr,sorted(sysconfig.get_config_vars().items()))))"
18-
- mkdir ~/rust-installer
19-
- curl -sL https://static.rust-lang.org/rustup.sh -o ~/rust-installer/rustup.sh
20-
- sh ~/rust-installer/rustup.sh --prefix=~/rust --spec=$RUST_VERSION -y
21-
- export PATH="$HOME/rust/bin:$PATH"
18+
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
19+
- source $HOME/.cargo/env
20+
- rustc -V
21+
- cargo -V
2222
- export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
2323
- export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB"
2424
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB:$HOME/rust/lib"
25-
- rustc -V
2625
- pip install -e .
2726

2827
script:
29-
- cd example && python setup.py develop && cd ..
30-
- cd example_tomlgen && python setup.py tomlgen_rust -w build && cd ..
28+
- cd example_tomlgen
29+
- python setup.py tomlgen_rust -w build
30+
- cd ..

0 commit comments

Comments
 (0)