-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
36 lines (31 loc) · 1.18 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
language: python
python:
- 2.7
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.5.5-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.5.5-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
- wget https://gist.githubusercontent.com/tacaswell/128bb482f845feb024eb/raw/5cf21dc03a354fc87140d4a75e17cb5c076a0517/.condarc -O /home/travis/.condarc
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- conda update conda --yes
- conda config --set always_yes true
- conda create -n testenv pip nose python=$TRAVIS_PYTHON_VERSION lmfit numpy scipy six numpydoc pyyaml
- source activate testenv
# - conda install vistrails --yes
- cd ../
- git clone https://github.com/Nikea/scikit-xray.git
- cd scikit-xray
- python setup.py install
- cd ../
- git clone https://github.com/vistrails/vistrails.git
- cd vistrails
- python setup.py install
- cd ../VTTools
- python setup.py install
- pip install coveralls
script:
- python run_tests.py
after_success:
coveralls