-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
27 lines (26 loc) · 1017 Bytes
/
.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
dist: jammy
os: linux
language: python
python: 3.11
addons:
ssh_known_hosts:
- proxy8.transport-intelligence.com:9022
- 147.135.185.244:9022
before_script:
- echo -e "Host tiproxy8\n\tHostName ${TIPRX_SVR}\n\tPort ${TIPRX_PRT}\n\tForwardAgent yes\n\tStrictHostKeyChecking no" >> ~/.ssh/config
- echo -e "Host titsc\n\tHostName ${TITSC_SVR}\n\tProxyCommand ssh -W %h:22 qa@tiproxy8\n\tStrictHostKeyChecking no" >> ~/.ssh/config
- echo -e "Host titscnew\n\tHostName ${TITSCNEW_SVR}\n\tProxyCommand ssh -W %h:22 qa@tiproxy8\n\tStrictHostKeyChecking no" >> ~/.ssh/config
install:
- pip install -r requirements.txt
script: make PY_EXEC=python checkers
before_deploy:
- openssl aes-256-cbc -K $encrypted_9cd66a2ab98f_key -iv $encrypted_9cd66a2ab98f_iv
-in id_rsa.travis-ci-deploy.enc -out /tmp/id_rsa.travis-ci-deploy -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/id_rsa.travis-ci-deploy
- ssh-add /tmp/id_rsa.travis-ci-deploy
deploy:
- provider: script
script: bash ci-scripts/deploy.sh
on:
branch: master