source:
sasmodels/.travis.yml
@
e34fe7c
Last change on this file since e34fe7c was e34fe7c, checked in by lewis, 7 years ago | |
---|---|
|
|
File size: 1.5 KB |
Line | |
---|---|
1 | language: python |
2 | sudo: false |
3 | matrix: |
4 | include: |
5 | - os: linux |
6 | env: |
7 | - PY=2.7 |
8 | - os: linux |
9 | env: |
10 | - PY=3.6 |
11 | - os: osx |
12 | language: generic |
13 | env: |
14 | - PY=2.7 |
15 | - os: osx |
16 | language: generic |
17 | env: |
18 | - PY=3.5 |
19 | branches: |
20 | only: |
21 | - master |
22 | addons: |
23 | apt: |
24 | packages: opencl-headers |
25 | before_install: |
26 | - openssl aes-256-cbc -K $encrypted_cb04388797b6_key -iv $encrypted_cb04388797b6_iv |
27 | -in .travis/travis_rsa.enc -out .travis/travis_rsa -d |
28 | - echo $TRAVIS_OS_NAME |
29 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh |
30 | -O miniconda.sh; fi; |
31 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh |
32 | -O miniconda.sh; fi; |
33 | - bash miniconda.sh -b -p $HOME/miniconda |
34 | - export PATH="$HOME/miniconda/bin:$PATH" |
35 | - hash -r |
36 | - conda update --yes conda |
37 | - conda info -a |
38 | - conda install --yes python=$PY numpy scipy cython mako cffi |
39 | install: |
40 | - pip install bumps |
41 | - pip install unittest-xml-reporting |
42 | script: |
43 | - python --version |
44 | - python -m sasmodels.model_test -v dll all |
45 | before_deploy: |
46 | - echo -e "Host danse.chem.utk.edu\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config |
47 | deploy: |
48 | skip_cleanup: true |
49 | provider: script |
50 | script: "/bin/sh -ex ./deploy.sh" |
51 | on: |
52 | branch: master |
53 | notifications: |
54 | slack: |
55 | secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA= |
Note: See TracBrowser
for help on using the repository browser.