Files
CVML-MachineLearning/.travis.yml
Sem van der Hoeven d979ca38f5 add all files
2021-05-26 15:12:05 +02:00

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