forked from torrvision/crayon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (30 loc) · 1.17 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
sudo: required
language: python
python:
- '2.7'
- '3.5'
services:
- docker
before_install:
- pip install docker
- pushd server
- docker build -t alband/crayon:latest .
- popd
script:
- pushd client/python
- python -Wignore -m unittest discover
- popd
before_deploy:
- pushd client/python
deploy:
provider: pypi
user: alband
password:
secure: HmwpZ4rVgaGghIZsAeLu5 j/khrInhqjS1eRRvG/fktXjV9H94wlAxf3l3o7rlazexOynHke513xm/IERU/OT8ZcPFMLcjCdDCqVuHmurMph2y0je2XsW58ekjEcCGQ1zg/UAWpCMRrHZIm0G0gBtiuq7BeQTaJW3kE8vSlxr GcGsQiEk0traZqmQLbvvGfFpHCazT/ kltJQPQQqi0m6rdZV1ayAKESxs9trQYzh99D9U2R63hbNhVDhOSTlXztRuafJpe356wCohQMGCst8wY8mHwhkqiJQbfuMPnWxnJ5JqcYeAKeFjqCL19hTQnDSKRHO0iy oJQ2Xb411/hmZ5SVow6mfhQmhvaiSEZ zll/QSGAXhkXaQLre/lFxdKtbHgU1jZtrRu/tiNrkkhDzW5vMhsRAMkZlz3RKc2Q95UTWKtyNXdSse9awLLkMPwHwLDxWKRPumXxyiPUR0UkxSxyj95FfP/qNK5VZpjIORW5SN 8CM4ByRCdetoqfzTdb6cZ5ZMUvLAlIkUkBvtQggz4eEkzYYTRaZpVRWmz8z 7nvhER/lOwS51tCrzfcNUHMmMou5cuuQSnUMPpP7xge3SB1HBKkSVrcmz3EZpk68sTenuXi5AH WiepytCy2rSPbYS4bPCdQyywXS5hSQutL Ecl YRYnTy Yy2nY=
skip_upload_docs: true
on:
tags: true
branch: master
condition: $TRAVIS_PYTHON_VERSION = "2.7"
after_deploy:
-popd