forked from dagoof/sqlalchemy-fsm
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
33 lines (30 loc) · 1.39 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
language: python
python:
- "2.7"
- "3.6"
env:
- USE_MIN_PACKAGE_VERSIONS=no
- USE_MIN_PACKAGE_VERSIONS=yes
install:
- pip install -r requirements/develop.txt
- pip install codeclimate-test-reporter
- |
if [ "${USE_MIN_PACKAGE_VERSIONS}" == "yes" ];
then
pip install "SQLAlchemy==1.0.0" "six==1.10.0";
fi
- pip freeze # Print versions of all installed packages for logging purposes
script:
- py.test -m pep8
- py.test
after_success:
- codeclimate-test-reporter --token 98492b2b5bbaf1cb15691d14f937120784e2bb8ba613005c4cf92251de7d1807
deploy:
provider: pypi
user: ilja_o
password:
secure: "GHQ6y8EilsMhLt41/lJUL2BYT7uKQFEAlKUFtyRPJasVKKYEJ3DLw34GPg0lyArBCcsuO0wXk1swulXbYn5lcD6dVhBveod01NIhvIVahkIcjvI9A26r4vIh7zJsKhG4+aJvMGSW8kAmLkIofhaFXgaKJD8WtqKD9NPApKteNFbctyWCxklPpyZ4XhQ42q0UyfyP54aSDM1tQtJMWVIzwvHCOiyFbPBRBkCoZsE6c4hND0pFllmGodvt9TFeBg/1R2du3L/wfaLvRc62SE5FfDPyOkvhZtCL32hDWkmGDeFG/JzvbGnJ8RKSijy+6kG88653gVJ85XiU3OFyYrto1XMQTNIhiOZeIZvHVYRpNDVW9erpWrcXG5KuSkQlR467w6J+OAMCiKG+LyT7rTsg7Y1Xz5lqxURd14ZTes8xDcH1sv8UMncblrpmEurkkVKvyb2Cqn3iH2XzXeLiKjJw1vnxPVuOd+5Ib37/X3ezyFN3YkuwD9NgKYHMrv4TnSuzMl+4L0RSDzdC03NFwTdtocvO2nfbkFTbz4EP5lmcJv6/2MhoX3QMgBBnUIGBa9EKD8oPmkwgJbzingZgfegtuQUk8PL8JjGGSyfAsMA9OZPffkUe7nahgphCwoV2q4ZYqkFoQ9KuhULVUlKxNDSCdU/hvFugJevaMp3Brlxm2uY="
on:
branch: production
python: 3.6
condition: "${USE_MIN_PACKAGE_VERSIONS} == no"