Changeset b812771 in sasview


Ignore:
Timestamp:
Mar 20, 2017 10:09:29 PM (7 years ago)
Author:
andyfaff
Children:
b76b6b7
Parents:
a3e3ef5
git-author:
Andrew Nelson <andyfaff@…> (03/19/17 17:35:32)
git-committer:
Andrew Nelson <andyfaff@…> (03/20/17 22:09:29)
Message:

TST: fix travis, use conda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    red8f27e7 rb812771  
    22 
    33language: python 
    4 python: 
    5   - "2.7" 
     4 
     5# can eventually include OSX here. 
     6matrix: 
     7    include: 
     8        - os: linux 
     9          env: PY=2.7 
     10 
    611# whitelist 
    712branches: 
    813  only: 
    914    - master 
    10 # command to install dependencies 
    11 virtualenv: 
    12   system_site_packages: true 
     15 
     16addons: 
     17    apt: 
     18        packages: 
     19            - opencl-headers 
     20            - fglrx 
     21            - libblas-dev 
     22            - libatlas-dev 
     23            - libatlas-base-dev 
     24            - liblapack-dev 
     25            - gfortran 
     26            - libhdf5-serial-dev 
     27 
    1328before_install: 
    14   - 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get update;sudo apt-get install python-matplotlib libhdf5-serial-dev python-h5py fglrx opencl-headers python-pyopencl gfortran libblas-dev liblapack-dev libatlas-dev; fi' 
     29    - echo $TRAVIS_OS_NAME 
     30    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
     31          wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 
     32      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 
     38    # Useful for debugging any issues with conda 
     39    - conda info -a 
     40 
     41    # could install other dependencies, but they're locked to specific 
     42    # versions in build/requirements.txt 
     43    - conda install --yes python=$PY numpy scipy matplotlib cython pylint 
     44    - sudo apt-get update; sudo apt-get install python-pyopencl 
     45     
    1546 
    1647install: 
Note: See TracChangeset for help on using the changeset viewer.