-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (39 loc) · 1.76 KB
/
.travis.yml
File metadata and controls
39 lines (39 loc) · 1.76 KB
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
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- 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 create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytest
- source activate test-environment
- pip install -U -r requirements.txt
- pip install -U -r test_requirements.txt
- pip install --no-deps -e .[all]
script:
- pif-ingestor -h
- py.test -s
deploy:
provider: pypi
user: CitrineInformatics
on:
distributions: sdist bdist_wheel
repo: CitrineInformatics/pif-ingestor
branch: master
password:
secure: s3N9PmZsy9r9y/Ya9gJufA6bnmGM18jAyOsoU3sD4ql9szDUd29x2+S82IMD6gOlirgsw+jyVOnl2mdCi1gqWafH00rJZnBy5Yeyk2AHMbZKDJcecBLtyTrqcYJkvdj7PvA1D67HtJec22mrGEEypP6uSK+UT/De6f1z1p5eW9UDBz9Rjv4NTAocoW/EkRqu3uV8j/a35YqIUA+pc69Kx2vrP83kdA6P7xPUQZJ3+SZXIaXMNWKpmbkjGFEl1l5Hb0Sre9JxBP8SqUStKIrnWjxSSNlrrqnsvNGEbZ8doeqhfADEPgYg0CGp+i6iptJYkiwka7+j3yHuo4O1jxpRQIoMqcJMJK0bFJS20xvuL+vZ6ABd6KsvSnmj0qcM6h7AJmWWsHTvv+QnoedRNrJYjkKPXN9ybPCprbXyupUx9SwnjecdUSrPaWBRf+JWX+wBuwcmHbxlY6/ThgTSsN6Gr+TK9M1qisMLz+qbrOq1R1Lo0d4GhqyYhIGeQsn4Q/HxLMlLEele5cygMQIBTiXqO63CtRUVLzxq/FwJOj/OADgISGswqSQ32yPzKsXFWzLDFcMpCEL5Z1o5eWf+stVr5w6Lp4va141bB3yrZbtvjxji7c/97EUSpWja7I9DyLqkeyx/evOuzP80kLggi8g0dpYAo3SrComOeSmfwLZb4wo=