forked from NREL/bifacialvf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (35 loc) · 3.55 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
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 to pypi on the python 3.6 build with upgraded dependencies when
# a new version is tagged on github from the master branch. Example from Rdtools
deploy:
provider: pypi
user: cdeline
password:
secure: BF2lMlW35x7AwkxrvSfDdiZalEcVLfe0Q0kdioTneBNpCeOGaUIJU8MW8ASUY5bfjebfRLqh08nXN2Bpzc+HYc1seq29LJWtmxLQOYEpftAr6O1XiiB+BHAlzQ+GDk2fFof1+1KLikLi6QBSNB0QTcyEvrN1vGjc/Pttnxgr/vF/s+/yvJt2GbHD9G7ldKtFni1VBCiFJxo/TjUjZoNA5k9HbOtSylj4Km4AhykvufaxH9SsXTtyREdxzq4A7C0/pKym5Q8vO+AuOaPfBZpHSVwJvSfdIOP6jT+oHPpGr9VsABNgr24RMTEwirw0bXBWkrbSs5XvO68rll45vplUVmHSg7TbtD2lk3TndwW1LnKJK1ewtXIqi5kZpwkk+KXiBydfadpmcAGyDl9/+Lc02Z1RJy/N8qrC8Y7t16yAwlFIHH6Zc4IVNk7FaEWCZDWxdkk7eguj7SOA/sItOlukrywwCR0VNuL1zF8OqdvcpzENHntIkkaQ93nGwqhT7wzTPZkQD1DWCeofQoc6eJiyGZy7nE2TFXswkt6+c99nESS8CZPv+UYquTh0EOeWGZm9Z1U4xRrbhoywHYrzj21fsVUNRYqGwSPABoo7+cTMH2WSc5CFbbIeAj7sPpHYL44PP9tYl4CXUknRpLaDdKGoCgrSjJRgOfax7kesjq6xM1Q=
on:
tags: true
branch: master
python: 3.6
condition: $REQ_ENV == '--upgrade --upgrade-strategy=eager .'
distributions: "sdist bdist_wheel"
skip_cleanup: true
#deploy:
# password:
# secure: Ws5tDsMY1Z5eKWjkC17vqAiZzNYYhMZsaHiHjWRwzW6DuKX3+pWgUNa4Q5oQe+N9wbxdpjHw3/rxqcDk1DsJbJPJXaQxjT3fOfAbCspAmgfNAtg0fu9Ynm40/TRfBU4htw09qbLCqB/2dDh69rWvoDSNDfyd7UKwRQsbBH/sJ/c3FFoGkEPndLcPb7Hr46jTE2sATIrXmM4aPoDNJFmuhvf4zUht4SPD9COqCYWrr9zHPWIRzgqwCnsntbV4/iGpSzvxfTzMioCG5dEcP+0HrA8p7hzbKL8HyJpcf3DldRO4N3aRAzXaKkStZmJ7BAPqwwwyuhmDqgkzdH7boyD5eBtOZOVTlAdArpgA4qDo+4fEEECSMVynFnmLuVeLT+yAE5SVQL1FS7Mnn4VcESrSRhv75j/oT4JaAoOJGS6QNYz5sHzWhG/dvdabMBWWmQ7rUkCiG7PY38wM8/ysq4aFP3mlJe2PLobXytkJyoVI3DHe4c5AnTXKRyl+nBAFCN4nr5O/vxZmQ7DibvQRA9IyanOik01vHNT2M80dP1U56BehQ99MexCRvvihR+wOO4pq1qGn8kq+hNBsdr1qejlUSUbpWIdI71rbRMcVrdmN8O9pJg8gjgYUcDqOSo6YLwdGf4le+xeJYRjCPvl/XHm1X+B0JbKZUfXzSbZwFWjhn2c=
# EwzDEj8FJLjnMyi/bv3t4DKlS3fF7LyHGlvfMM2XJvyzdZrHOFWRPK73Ln2ht8f3DmPsCWpJWIyGW3vUriAh0lq4jCdRrDsgPDNVr2ZZb5dP+wvFUvXgLFfewKvAKzkOQaxuZNfu4Yuov5i3GMQ0McNzuqfoaVnw7skaDSxcvj3Do/7A26ewyNey0qo4ZtIAPVnj5jKHXVH4HnSvlX6vQA2ej1i62PtIm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