https://github.com/cvxgrp/scs
Raw File
Tip revision: 4a1dbbd089990d2ba2633127c05a75a17b7dc60e authored by bodonoghue on 19 December 2014, 13:34:22 UTC
Merge branch 'master' of https://github.com/cvxgrp/scs
Tip revision: 4a1dbbd
.travis.yml
language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
install:
  - sudo apt-get update
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget http://repo.continuum.io/miniconda/Miniconda-3.7.3-Linux-x86_64.sh -O miniconda.sh;
    else
      wget http://repo.continuum.io/miniconda/Miniconda3-3.7.3-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda info -a

  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy nose coverage
  - source activate test-environment
  - cd python; python setup.py install; cd ..

script:
  - cd python; nosetests --with-cover --cover-package=scs test_scs_basic.py test_scs_rand.py; cd ..

notifications:
  email:
    - bodonoghue@gmail.com
back to top