-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
23 lines (19 loc) · 1.24 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
language: python
python:
- '3.6'
env:
global:
secure: I4gjhJISnaW95cNXSh4gmV924LiWRmF6PcRtcs0/hhL9GRpsP6CKsKxtmuNl83QZK/l3nolel6FLC8QOHF5TNgkt09szFZ+3IkKA8xrdrcJnhbMc/Slr5+Znhmi5K/hce3xIVnljK+6PPWPQ7aXyw98OnAq3mYruBXKY55pHKtjL7CToU+veUr1CXJSHazxeNdAAxcLHwGj1XM3B3Y7Q5LGJ7e4QqtPFO80G7Fr+W4tmkXnSI4+ddWYe8xv2vfWcE7wDZSeoAM3mzxvHqd8079XEQMEBI2TmJf8bnIRyrpSLxvjSCU3DLzEdb5aasPkjdlKsjBy0v4uY4w+A59h+5CfjbY+7jOLY5TapjdQk7WK5+K4Et8x5GLlS0CPezHbTWDCfa1VZmxxSNHWqFlUAR2TW6nkXaDYcUDRB2SRVy3fZk1CN2M0G23cH25uWwnpOV4A+kr6fzusC9kqQFx3U1DUOOKP3yLwrCv/kBnoxcP8Z2I/Cao+3QaaJoV7/6kyfuuUmem1LGAkTm5LTtIONi0DvTPCmvNFHBoTV0S/5GCj5iQIcRzrYw6Ucqksm6RzhRBwHyrxQcIlxLCGtWLHjdYtKpbC9ghmmTBwnz1+No7tswe6pdK555C+ZxlvTJS/vFY8HwVNvrJUwykgp3f5bx6+sOr7gzGioKhQHzx/fuwc=
before_install:
- openssl aes-256-cbc -K $encrypted_94e724cdc8b6_key -iv $encrypted_94e724cdc8b6_iv
-in travis_ci/ali_travis.enc -out ~/.ssh/ali_travis -d
script:
- echo "StrictHostKeyChecking no" > ~/.ssh/config
- pwd
- ls -al
- python tools/nfd2nfc.py 'publish'
- python tools/nfd2nfc.py 'tools'
- chmod 600 ~/.ssh/ali_travis
- sed -i '9 r tools/pic.json' tools/get_cover.py
- scp -i ~/.ssh/ali_travis tools/get_cover.py root@$ALI_HOST:/tmp/get_cover.py
- ssh -i ~/.ssh/ali_travis root@$ALI_HOST < travis_ci/run.sh