This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (32 loc) · 3.36 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
language: python
python:
- 3.6
env:
global:
# GH_TOKEN to push the docs on Github
- secure: "YSXBpk7kfoaBq7IKaJBIqwoXeygKW4YCFcdPtjqCTlXnejubxH9Ny0lE4UwuDvV56mg+tyDhFl/4QEO9Wr9vsOHb6bYpOrk+nvZuHH9o3gqxGtsnAc4q8tQGZ+MDKQuB3sJ7tCI4HQTIyXL/QRB4W47g9ygGy4HJwU7k2q8fx0O9C8TbCeKbpQB5Uo/QB4xxEJFElwij8hTMTsd+5r9hJy9q4RCE/yschz7/iPrOPX7ptvbVBq1gc3K+1DpKsnlhJz2J9Kd78cEFum+SdXkDXwOZt4Xk9hbpwXzJRNm1KQIVeuOdQF9yOt8D9FHkXqyqQs4vPaLSK5MudLuDcnMosyk0Y1+pgAdlt8x3SahQhvaaMMzChlksk6zRDzeZdP+jL4Lm87zzXh5/dLF8Xin/jZBiuXIrAodTv1h2Q664mUqgavEbYoTv5CX6/QRoBeJmHs6t0tjBbADAgL5NMtJna9CaDuB080YcnB+NCXm8c6TQUOkmUDvbuJL9BqZkgBvuKaU6DpgA/9Be9zsJeDao1mjxQlVsO9CH8x7zY5npfy37xDLkXPA8kwRxmq08DHoiOLLjQzKC8YK1IWXpe1jTAyQN36gkC6cwlV9OZYYYEk1Gucp0K2OAYXk3ZlmXr1R/gywXZNZ1C/za75gZamXqi/vwCmr2qOiTkQuIRhG6aDg="
# TX_TOKEN for testing on Transifex
- secure: "jBJCrb5RRYpepXzCW8LnSMgPJFosc7P6Oid/2o0ejUfC0PvCbq//57r4LzpaZWZsXmf3N1tu4onL2nIdC8k9c2rquhWju7y6k4jrrGAbZCe3LhyPMXZMWxwvqf7tk7JOGrJs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PX1AfS+jO3su4EhHL/Qv/3aOzuaVoU6ePIJBbZIhG6zqc+2o72KaHYIGFcfkUzFu6FTxsy03qbjUkPOLnhJZh8751RroX0pNJjE3svmO00o0OirDJ41bSuyT8XZpUfzRDIg7Nn/mAJA2apk40I7XyuCblwBSxzgfdiaRDTW5UhOgPLodmsv4+tLI4o="
# PYPI_PASSWORD
- secure: "cIjb5E+umOaFrhn6ryUiG6JVsKeV3W8lvp/0bJQd7I/jXrWEndlYPufzKaEbygJe082wVil8bETU0AWqUYJjKwEFmiirDfSmhEc6ht5nd1UIS36CrcJXGqTdnTQzCo6rPngVS+b9sDZEaO3ezLSz+anmDPQRIs0bp0G1g3kPUPkbKpUgkLTMqFn1HxwlrX92j5UIN5IVKY5ZbqaE54qHwHIFi4zs39ABYy/mM85S3HiVCDiN5gsucKCQnViGuJDQWifiWJz08dhDeaiOr/oOON9rvG8Zy2JEJKrhsqZNcgcwIY3SDLjk6bdbx1pyQY3cDuir0jVmE+SwEtUPprBs0LEM8U6CmxHV9xvUPumxWCNexfSNDupOfOLB0eaWMMjYdNCf7XDd8rLbxrBXNpuTwf36bTyLD7MMN0oH9w8+TPh4IRVNtvqF34Tm8NFVhbY8dXv3kCuIWwVK3G2dYMBXOJ1lX86dKRSzrfohqJSOc1tOUc/E9T7x9XiMSIW4pyVkzHm7KTBr/dsJw4WO9IKJYMS7shkS7H9moUyykhT4TIHOdmgbkecMKHgzHZZABlkhAQbDyexh/FdtCeMbgwj9rkNcPj4ZJuXBCEClBr2NBAWRv6FkvKLS1/3eAOOWtEYF8Pg7gGDwx4oRCTZ+ZGTLajJ/TO+6sfu0Lfc2x/ovGbk="
install: pip install -r requirements.txt
script:
- nose2 -v
- ./docs/build_deploy.sh # TODO: move to deploy
deploy:
- provider: pages
skip_cleanup: true
github_token: ${GH_TOKEN}
local_dir: ${TRAVIS_BUILD_DIR}/docs/_build/html
keep_history: false
target_branch: gh-pages
on:
branch: master
- provider: script
script:
- ./.deploy/deploy_to_pypi.sh
on:
branch: master
tags: true