-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
40 lines (40 loc) · 3.67 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
39
40
language: ruby
branches:
only:
- master
rvm:
- 2.6
addons:
apt:
packages:
- sshpass
before_install:
- gem install bundler
- bundle install --jobs=3 --retry=3 --verbose
before_deploy:
- echo -e "Host $DEPLOY_HOST\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- openssl aes-256-cbc -K $encrypted_10978a7f2d99_key -iv $encrypted_10978a7f2d99_iv
-in deploy_rsa.enc -out deploy_rsa -d
- openssl aes-256-cbc -K $encrypted_10978a7f2d99_key -iv $encrypted_10978a7f2d99_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy\_rsa
- sshpass -p $SSH_PASSWORD ssh-add /tmp/deploy\_rsa
exclude:
- vendor
sudo: false
env:
global:
- secure: Bbv89jwTvEOb/VWiaO4g/7nLMQbPCAk2q9kOFvPcNIOG2c7cd9FjEST6RJumk1DhQaN9L3TJ519kl7Gneo/oWKG6SocQX2y6la4eQwkFLMEPXZRfpGP6PlyRb3Vn/L6T0UNT2peIF6PFJ5VkK2o8qJwXVGPiydPRHBdXgkJfMqhKBzyOQTDteYX0JhSOqZZZJcLtIQAlQ5Ep+2zhCemo/LjUAtIvgOrR0IB3wsmokF0DAvenwiA2blN8Bm8GBTvZock14MZ0mBir2N27jRer/ckEJ6tTmBjTEJH2YVJNIEKIzaIhZ/MTyHXFb4vBS/rxNYqHBcDVCQ8a1BspUz5OJZy04ccuuzGMNDpXbNOzSzWZs+I1+RaStDQHD1e4k/hAFpAzhZqQAXLAtWmPbABXdyIy+3bVPY3wiUBGNsFvkwTSAFWi+dJg0M1nBrRLDDzSGJPbzYdyiUoDqtVTwF22rjTJHs2g2Z5cV4C6yzcK7H5q2eGZIzoU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3Kq2pwQ3rj3puSv7dexAajQhTdRj2QwvvZC1ZVEUizYglNFC4J7IzC4oXbK3B8dk1gR2KL3LTxAPcqNecqYHxmTS+q/pTz25gvFQ8=
before_script:
- chmod +x ./script/cibuild
script: if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./script/cibuild; fi
deploy:
provider: script
skip_cleanup: true
script: rsync -r --quiet --delete-after _site/* $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIRECTORY
on:
branch: master