-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (46 loc) · 865 Bytes
/
.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
dist: trusty
sudo: required
language: cpp
compiler:
- gcc
- clang
os:
- linux
- osx
osx_image: xcode8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
env:
global:
- PATH=$HOME/miniconda/bin:$PATH
- MACOSX_DEPLOYMENT_TARGET=10.7
matrix:
- python=2.7 CONDA_PY=27
- python=3.6 CONDY_PY=36
matrix:
exclude:
- os: linux
compiler: clang
- os: osx
compiler: gcc
cache:
apt: true
notifications:
email: false
before_install:
- PY_VER=${CONDA_PY:0:1} devtools/travis/setup_miniconda.sh
install:
- if [ "$CXX" = "g++" ]; then export CXX="/usr/lib/ccache/g++-5" CC="/usr/lib/ccache/gcc-5"; fi
- conda build conda.recipe
- source activate test-environment
- conda install --use-local readdyviewer
script:
- python tests/test.py