-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
33 lines (27 loc) · 1.18 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: python
python:
- '3.8.12'
branches:
only:
- master
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- 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 create -q -n test-environment python=3.8.12
- conda activate test-environment
- conda install -c conda-forge qgis=3.18.3 vispy=0.9.4 pyside2=5.13.2 gdal=3.3.1 h5py
- conda install pytest six pytest-cov pytest-mock
- conda install git pip
- pip install git+https://github.com/noaa-ocs-hydrography/kluster.git#egg=hstb.kluster
- pip install git+https://github.com/noaa-ocs-hydrography/shared.git#egg=hstb.shared
- pip install git+https://github.com/noaa-ocs-hydrography/hstb_resources.git#egg=hstb.resources
- pip install git+https://github.com/noaa-ocs-hydrography/vyperdatum.git#egg=vyperdatum
- pip install git+https://github.com/noaa-ocs-hydrography/bathygrid.git#egg=bathygrid
- pip install -r requirements.txt
script: pytest tests