forked from pfultz2/cget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (53 loc) · 1.22 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
script: cmake
language: python
matrix:
include:
# OSX
- env: TOXENV=py27
os: osx
language: generic
python: '2.7'
# 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=lint
os: linux
python: '3.5'
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