Last change
on this file since 25dd9c9 was
bb1cb38,
checked in by ajj, 8 years ago
|
Adding slack notifications
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[b199493] | 1 | language: python |
---|
[4b81e01] | 2 | matrix: |
---|
[83cd257] | 3 | include: |
---|
[bb1cb38] | 4 | - os: linux |
---|
| 5 | env: |
---|
| 6 | - PY=2.7 |
---|
| 7 | - NUMPYSPEC=numpy |
---|
| 8 | - os: osx |
---|
| 9 | language: generic |
---|
| 10 | env: |
---|
| 11 | - PY=2.7 |
---|
| 12 | - NUMPYSPEC=numpy |
---|
[b199493] | 13 | branches: |
---|
| 14 | only: |
---|
[bb1cb38] | 15 | - master |
---|
[4b81e01] | 16 | addons: |
---|
[83cd257] | 17 | apt: |
---|
| 18 | packages: |
---|
[bb1cb38] | 19 | - opencl-headers |
---|
| 20 | - fglrx |
---|
| 21 | - libblas-dev |
---|
| 22 | - libatlas-dev |
---|
| 23 | - libatlas-base-dev |
---|
| 24 | - liblapack-dev |
---|
| 25 | - gfortran |
---|
| 26 | - libhdf5-serial-dev |
---|
[b199493] | 27 | before_install: |
---|
[bb1cb38] | 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; sudo apt-get update; sudo apt-get install python-pyopencl; elif |
---|
| 31 | [[ "$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 $NUMPYSPEC scipy cython pylint wxpython |
---|
[83b2227] | 39 | install: |
---|
[bb1cb38] | 40 | - pip install -r build_tools/requirements.txt |
---|
| 41 | - pip install matplotlib |
---|
[b199493] | 42 | script: |
---|
[bb1cb38] | 43 | - cd .. |
---|
| 44 | - export WORKSPACE=$(pwd) |
---|
| 45 | - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels |
---|
| 46 | - git clone --depth=50 --branch=master https://github.com/bumps/bumps.git |
---|
| 47 | - ls -ltr |
---|
| 48 | - if [ ! -d "utils" ]; then mkdir utils; fi |
---|
| 49 | - /bin/sh -xe sasview/build_tools/travis_build.sh |
---|
| 50 | - export LC_ALL=en_US.UTF-8 |
---|
| 51 | - export LANG=en_US.UTF-8 |
---|
| 52 | notifications: |
---|
| 53 | slack: |
---|
| 54 | secure: TlsEpZiMLmOOgnmdG0I/oB4tq3bbQYeBBQi6S5qLlkYE9EjUTbbfg7oz0JYUsQ56FAsdFR8zswpBsX7PebZerzrq0ZmvfHSiJhOFIdBfY5Nb7bmLW8/9pUNWV57ON/8Gw2fE5ytc7FgvCGR64yb2QISI/150SIUwvdL5HXTxRWI= |
---|
Note: See
TracBrowser
for help on using the repository browser.