-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
46 lines (40 loc) · 1.13 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
language: c
sudo: false
branches:
only:
- master
install:
- source devtools/travis-ci/install.sh
- export PYTHONUNBUFFERED=true
# Add org channel
- conda config --add channels ${ORGNAME}
script:
# Create a test environment
- conda create --yes -n test python=$python
# Activate the test environment
- source activate test
# Add channels
- conda config --add channels conda-forge
- conda config --add channels omnia
- conda config --add channels https://conda.anaconda.org/omnia/label/dev
- conda config --set channel_priority false
# Install extras for OpenEye and testing
- conda install --yes --quiet pip nose nose-timer
# Build the recipe
- conda build devtools/conda-recipe
# Install the package
- conda install --yes --use-local ${PACKAGENAME}
# Test the package
- cd devtools && nosetests $PACKAGENAME --nocapture --verbosity=2 --with-timer -a '!slow' && cd ..
# Test the examples
#- python benchmark/experiments/baoab_vs_vvvr.py
os:
- osx
- linux
env:
matrix:
- python=3.5 CONDA_PY=3.5
- python=3.6 CONDA_PY=3.6
global:
- ORGNAME="omnia"
- PACKAGENAME="benchmark"