Skip to content

Commit

Permalink
ci: updated travis configuration
Browse files Browse the repository at this point in the history
- use `python -m` to guarantee the right interpreter
- use `$PIP_FLAGS` consistently
- removed all references to custom lal builds
- removed all apt packages (we dont need them any more)
  • Loading branch information
duncanmmacleod committed Aug 1, 2018
1 parent ba68807 commit e26e022
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 51 deletions.
35 changes: 5 additions & 30 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
language: python

addons:
apt:
sources:
- sourceline: deb http://software.ligo.org/lscsoft/debian wheezy contrib
key_url: http://software.ligo.org/keys/deb/lscsoft.key
- sourceline: deb-src http://software.ligo.org/lscsoft/debian wheezy contrib
key_url: http://software.ligo.org/keys/deb/lscsoft.key
packages:
# lal dependencies
- pkg-config
- zlib1g-dev
- libgsl0-dev
- swig
- bc
- libfftw3-dev
# other dependencies
- gfortran # scipy
- libblas-dev # scipy
- liblapack-dev # scipy

python:
- '2.7'
- '3.5'
- '3.6'

env:
global:
- LAL_VERSION="6.18.0"
matrix:
- PIP_FLAGS="--quiet --pre"
- PIP_FLAGS="--quiet"
Expand All @@ -39,15 +17,15 @@ matrix:
fast_finish: true

before_install:
- pip install -q --upgrade pip
- pip install ${PIP_FLAGS} -r requirements.txt
- pip install ${PIP_FLAGS} coveralls unittest2 pytest
- python -m pip install ${PIP_FLAGS} --upgrade pip
- python -m pip install ${PIP_FLAGS} -r requirements.txt
- python -m pip install ${PIP_FLAGS} coveralls unittest2 pytest

install:
- pip install .
- python -m pip install ${PIP_FLAGS} .

script:
- coverage run ./setup.py test
- python -m coverage run ./setup.py test
- .travis/test-exe.sh gwdetchar-software-saturations --help
- .travis/test-exe.sh gwdetchar-scattering --help
- .travis/test-exe.sh gwdetchar-overflow --help
Expand All @@ -57,7 +35,4 @@ after_success:
- coveralls

cache:
apt: true
pip: true
directories:
- lal-${LAL_VERSION}
21 changes: 0 additions & 21 deletions .travis/build-lal.sh

This file was deleted.

0 comments on commit e26e022

Please sign in to comment.