-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
57 lines (56 loc) · 1.33 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
script: cmake
language: python
matrix:
include:
# Linux
- env: TOXENV=py27
os: linux
python: '2.7'
addons:
apt:
packages:
- util-linux
- cmake
# - env: TOXENV=py34
# os: linux
# python: '3.4'
# addons:
# apt:
# packages:
# - util-linux
# - cmake
# - env: TOXENV=py35
# os: linux
# python: '3.5'
# addons:
# apt:
# packages:
# - util-linux
# - cmake
- env: TOXENV=py36
os: linux
python: '3.6'
addons:
apt:
packages:
- util-linux
- cmake
- env: TOXENV=lint
os: linux
python: '2.7'
addons:
apt:
packages:
- util-linux
- cmake
install:
- which cmake
- cmake --version
- which python
- python --version
- export DEBUG=1
- export PATH="/Users/travis/Library/Python/2.7/bin:$PATH"
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then pip install tox; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip2 install --user tox; fi
script:
- tox