.travis.yml 1002 Bytes
Newer Older
John Chodera (MSKCC)'s avatar
John Chodera (MSKCC) committed
1
language: c
2

John Chodera (MSKCC)'s avatar
John Chodera (MSKCC) committed
3
4
5
install:
  - source tools/ci/install.sh
  - export PYTHONUNBUFFERED=true
6

7
script:
John Chodera (MSKCC)'s avatar
John Chodera (MSKCC) committed
8
9
10
11
12
13
14
  - export CC="gcc -std=c89"
  - source deactivate
  - conda install --yes conda-build
  - conda build tools/conda-recipe
  - source activate $python
  - conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
  - conda list -e
15
16
17
18
19
  - # run C tests
  - pushd .
  - cd tools/conda-recipe/build
  - ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
  - popd
20
  - # run the python tests too
21
  - pushd .
22
  - cd wrappers/python/tests
23
  - nosetests -vv --processes=-1 --process-timeout=200
24
  - popd
John Chodera (MSKCC)'s avatar
John Chodera (MSKCC) committed
25
26

env:
27
28
29
30
  global:
    # encrypted BINSTAR_TOKEN for push of dev package to binstar
    - secure: Qz3pEYXXFnNQ/WK+15ad4cdbLJvzgCIZRwKD9fLiS3CDO2ldAQWxzaz8RQOwqbFtZUWu7lQpr+GukNJz5p0w18QEto+BxLYG9aW5mjoc+F2vCjyWFjkwnJ/Z/3uBKTcr5x9Y7HKaPGivaJ4BNACifjt7cCpeVJzV6u2+bBgSoHc=

John Chodera (MSKCC)'s avatar
John Chodera (MSKCC) committed
31
32
  matrix:
    - python=2.7  CONDA_PY=27
33
    #- python=3.3  CONDA_PY=33
John Chodera (MSKCC)'s avatar
John Chodera (MSKCC) committed
34
35
36
37
38
39

after_success:
  - echo "after_success"
  - source tools/ci/after_sucess.sh