-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (35 loc) · 1.11 KB
/
.travis.yml
File metadata and controls
41 lines (35 loc) · 1.11 KB
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
sudo: required
os:
- linux
language: python
- "2.7"
dist: trusty
sudo: false
env:
global:
- TMPDIR=/tmp
cache:
directories:
${HOME}/test_data/uvcmetrics/test/data
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; fi
- export PATH="$HOME/miniconda/bin:$PATH"
- bash miniconda.sh -b -p $HOME/miniconda
- conda config --set always_yes yes --set changeps1 no
- conda update -y conda
- conda install -y --channel conda-forge --channel uvcdat uvcdat-nox
# Useful for debugging any issues with conda
- conda list
- conda info -a
install:
- if [ -d build ]; then rm -rf build; fi
- git clean -fd
- df -h .
- export UVCDAT_ANONYMOUS_LOG=False
- cmake . -DUVCMETRICS_TEST_DATA_DIRECTORY=${HOME}/test_data/uvcmetrics/test/data
- python setup.py install
#before_script:
# - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export DISPLAY=:99.0 ; sh -e /etc/init.d/xvfb start ; sleep 3 ; fi
script:
- export UVCDAT_ANONYMOUS_LOG=False
- ctest -D Experimental -VV -j2