23 lines
693 B
YAML
23 lines
693 B
YAML
dist: xenial
|
|
language: python
|
|
python:
|
|
- "3.7"
|
|
install:
|
|
- sudo apt-get update
|
|
# We do this conditionally because it saves us some downloading if the
|
|
# version is the same.
|
|
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
|
|
- 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
|
|
# Useful for debugging any issues with conda
|
|
- conda info -a
|
|
|
|
- conda env create -q -n test-environment python=$TRAVIS_PYTHON_VERSION -f environment.yml
|
|
- source activate test-environment
|
|
|
|
script:
|
|
- travis_wait 30 py.test -v
|