forked from euroargodev/argopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 920 Bytes
/
.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: minimal
sudo: false
matrix:
fast_finish: true
include:
- name: "tarball"
env: PY=3
before_install:
- |
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"
conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
conda update --quiet conda
conda config --add channels conda-forge --force
conda config --set channel_priority strict
conda create --name TEST python=$PY --file requirements.txt --file requirements-dev.txt
source activate TEST
conda info --all
install:
- pip install -e . --no-deps --force-reinstall
script:
- |
if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
python -m pep517.build --source --binary . --out-dir dist/
check-manifest --verbose
twine check dist/*
fi