forked from NREL/rdtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 1.26 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
sudo: false
language: python
python:
- "2.7"
- "3.6"
# Test two environments:
# 1) dependencies with pinned versions from requirements.txt
# 2) 'pip install --upgrade --upgrade-strategy=eager .' to install upgraded
# dependencies from PyPi using version ranges defined within setup.py
env:
- REQ_ENV='-r requirements.txt .'
- REQ_ENV='--upgrade --upgrade-strategy=eager .'
install:
- pip install $REQ_ENV
script:
- pytest
deploy:
provider: pypi
user: RdTools
password:
secure: GjzVQdzwnXUx+nJV5R7FdZRiI+6amQAklzS2rj0/i23B2QCh0qnnbIjcatodiglBhrH/i/ccNT6HVvYt21IDxux50VuGCSgvvX1I+QfBtDCV0Wt61j8Ms9C7Xbbdt/jXeI4KXQYDq118GJgWPQDfZPDo0okttwrRYNuYhTPYdJ7qmnn3pKOKwrDcjRNiO8dWv8tcY8bfzp7WEEhWhUqHbWGf3EprbVALuS7DF5BzoxKz6np869dTj/5j7BdCF19vscQnP1p8rM7H7J+0m6SNH9slbTE1Z/wfY+97906+zvHOU3rAC2q6NBKRArSIcWy/RsYQcdmuXpZPw7fk04whMZ3V7zojmtkeggTp7AbKlf7qmwKLkDGfNofztQNojNg171eLFSz3GLlYzraw8wLa1Zq8APjq/gG9TkqQkRZ0n73MuYTtZz2ARQZiuDWPJ8sjyoonp04FXRqTK+zKCaFvSaATEXMj4N9GY1yQawrNCOPodR42sz82aCIp/Yu5bvrP1YuMAHkYttzD0HScMRN/ebHethSdRc2S3x2yyX6r7B76lfcx1tS6vcbSVc6B8gg59cZk+82AlpbF7LxJnmenThfKp3cdiYAUI7oYo8+Bfp6ZI44UH8ODY8d4Lhx00o55ojAb7tiwJSWLio3NSC5LGagCwfJmiQPze1luPiKIqBM=
on:
tags: true
branch: master
distributions: "sdist bdist_wheel"
skip_cleanup: true