-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
41 lines (35 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
34
35
36
37
38
39
40
41
language: minimal
sudo: false
matrix:
fast_finish: true
include:
- name: "tarball"
env: PY=3
before_install:
# 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
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Add conda-forge as lowest priority and enforce strict priority
- conda config --append channels conda-forge
- conda config --set channel_priority strict
# Only install geopandas from conda as it has complex dependencies
- conda create -q -n TEST python=$PY geopandas
- conda activate TEST
install:
# Install pyowc and its dependencies
- pip install .
- pip install -r requirements-dev.txt
script:
- |
if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
python -m pep517.build --source --binary . --out-dir dist/
check-manifest --verbose
twine check dist/*
fi