-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
36 lines (36 loc) · 1.2 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
language: python
python:
- 2.7
notifications:
email: false
sudo: false
install:
- wget http://repo.continuum.io/miniconda/Miniconda-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 yes
- conda update conda
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- conda install pbr nose pip
- sed '/gunicorn\|Flask\|Flask-RESTful\|requests-toolbelt\|stevedore\|click\|regex\|celery\|redis\|pyxDamerauLevenshtein\|beautifulsoup4/d'
requirements.txt | xargs conda install
- conda install numpy Pillow scipy Cython h5py
- pip install -r requirements.txt
- pip install kraken
- conda list
- pip freeze
- python setup.py install
- python setup.py download
script:
- python setup.py test
deploy:
provider: pypi
username: ogl-iris
distributions: sdist bdist_wheel
skip_cleanup: true
skip_upload_docs: true
on:
tags: true
password:
secure: QDnD0VrYk1P1RJVi/TRPNvB1t3waoifRaVO2oHNFaFcJzsS11zg1C2ix1/FTsq3fp9+zgLVFLQZdoumjpkyy8CicBzIsJydBzYw/x2e9eKmUwWszt5X2U3e57sFK91gFHENefCmB+DC0UrevFIPGWDn+zcgU735RXdLEHsUFDZ8=