Skip to content

Commit e0beb42

Browse files
committed
[travis] configure and enable PRs and deployment
1 parent 0b6c08d commit e0beb42

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.travis.yml

+17-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
language: ruby
22

3-
rvm: 1.9.3
3+
sudo: false
44

5-
cache: bundler
5+
# this is taken from .ruby-version from the repo
6+
# rvm:
7+
# - 2.2.1
68

7-
env:
8-
- BUNDLE_PATH=$GEM_HOME
9+
cache:
10+
- bundler
911

1012
branches:
1113
except:
1214
- master
1315

14-
before_script:
15-
- printenv | sort
16-
- ls -la $GEM_HOME/*
17-
- ls -lar ${BUNDLE_PATH:-vendor/bundle}/*
18-
1916
script:
20-
- gem list
21-
- octopress deploy
22-
17+
- bundle exec jekyll build --trace
18+
# preparing the deployment SSH key and running the deployment script
19+
- if [[ "${TRAVIS_BRANCH}" == "source" && "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
20+
openssl aes-256-cbc -K $encrypted_e3b7eaa5d6e3_key -iv $encrypted_e3b7eaa5d6e3_iv -in travis_deploy_rsa.enc -out travis_deploy_rsa -d;
21+
chmod 0600 travis_deploy_rsa;
22+
eval "$(ssh-agent -s)";
23+
ssh-add travis_deploy_rsa;
24+
git config --global user.email "[email protected]";
25+
git config --global user.name "Travis CI Deployment";
26+
bundle exec jgd --branch=master [email protected]:Parallel-in-Time/parallel-in-time.github.io;
27+
fi

travis_deploy_rsa.enc

3.17 KB
Binary file not shown.

travis_deploy_rsa.pub

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDqD3Bf8scbbqL6iXvrv6a2Ty972nh04Meeo1TJbpKc1KXTwVMoGHr+GP17/2Y4HHclVUenjBbzUYbWeYtGtIl9TMS17l+14HPoVbCBz9S1cjBvzduUsdGi1JXPLVR2qeyDX+XATXWGtaf3AOB6tnPMesfRvkw5183WJcMtDPUFVhMgni13GPbsJVbXJehUDsoXu8x6436/XrozkE53E+6ErVSBrf4dOhNRmf/F5tfhow4zFBuKHRgk/mZ3hYxMMF4V7qGtxDdgjTS6E/P37v0A6WutfFUuPwPTCWO1vXYMf71qHeJaRZzQzURWYbs4lLFssSpdwk6f9ktzyChEIAfEsMOXB0E6kKY1pyEdfiUiyqPblHZLoy/7nVlQZ5NaYWljtd5LlxVHyO0RJRYdAOMN24RELojhphcX/xY+vpy8jw9jDy7+LBiryxtq+YC5aJLuWHC/zx4hIaaempoQsbe7T4X1mxP0awBBpWDi95QbcepGjqz0rydm3nMvRY0QzoAw/duFn7ZwEfxmt1vgVw1FLXwe+YudUa6hme2lALCb69EDsWTZux/O4RRX+VUsOAQ0lQ9NovT6oA8L+rdstvCPfn0uu1R6Om4NJ5hWYDR2hOTpyC+jkZe5e67HYbQMHupp9bwc2piuVNWYJfOB+HpXNqP8YbbeJspMBE0cRl4p0w== <[email protected]>

0 commit comments

Comments
 (0)