-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
67 lines (64 loc) · 1.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
matrix:
allow_failures:
os: osx
include:
# Execute this code installing *cogapp* from PyPI and then:
# `cog.py -r .travis.yml` to update inplace.
# Notes:
# - tox manages the python matrix
# - the linux image has most python versions preinstalled
# - brew installs the required versions on osx
#[[[cog
#import cog
#template = """\
#- language: generic
# os: osx
# python: 2.7
# env:
# - RUST_VERSION={rustver}
#- language: python
# python: 2.7
# env:
# - RUST_VERSION={rustver}\
#"""
#for rustver in ('stable', 'beta', 'nightly'):
# cog.outl(template.format(**locals()))
#]]]
- language: generic
os: osx
python: 2.7
env:
- RUST_VERSION=stable
- language: python
python: 2.7
env:
- RUST_VERSION=stable
- language: generic
os: osx
python: 2.7
env:
- RUST_VERSION=beta
- language: python
python: 2.7
env:
- RUST_VERSION=beta
#- language: generic
# os: osx
# python: 2.7
# env:
# - RUST_VERSION=nightly
#- language: python
# python: 2.7
# env:
# - RUST_VERSION=nightly
#[[[end]]]
# Manually install python on osx
before_install:
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then ci/osx-install.sh; fi
install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUST_VERSION
- export PATH="$HOME/.cargo/bin:$PATH"
- rustc -V
script:
- sudo pip install tox
- tox