mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
even simpler
This commit is contained in:
parent
9b642f4f2f
commit
58421d84fa
1 changed files with 5 additions and 30 deletions
35
.travis.yml
35
.travis.yml
|
@ -1,37 +1,12 @@
|
||||||
# After changing this file, check it on:
|
# After changing this file, check it on:
|
||||||
# http://lint.travis-ci.org/
|
# http://lint.travis-ci.org/
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
# sudo false implies containerized builds
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- 2.7
|
|
||||||
- 3.6
|
- 3.6
|
||||||
|
- 2.7
|
||||||
env:
|
cache: pip
|
||||||
global:
|
|
||||||
# List package dependencies for conda
|
|
||||||
- CONDA_DEPS="pytest numpy shapely six"
|
|
||||||
# package name for test invocation
|
|
||||||
- PACKAGENAME="python-awips"
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
# Here we download miniconda and install the dependencies
|
|
||||||
- export MINICONDA=$HOME/miniconda
|
|
||||||
- export PATH="$MINICONDA/bin:$PATH"
|
|
||||||
- hash -r
|
|
||||||
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
|
|
||||||
- bash miniconda.sh -b -f -p $MINICONDA
|
|
||||||
- conda config --set always_yes yes
|
|
||||||
- conda update conda
|
|
||||||
- conda info -a
|
|
||||||
- conda create -n testenv python=$TRAVIS_PYTHON_VERSION
|
|
||||||
- source activate testenv
|
|
||||||
- conda install $CONDA_DEPS
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python setup.py install
|
- pip install -r requirements.txt
|
||||||
|
- python setup.py install
|
||||||
script: pytest
|
script: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue