forked from emichael/dslabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (23 loc) · 797 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
27
28
language: java
jdk: openjdk14
branches:
only:
- master
before_install:
- openssl aes-256-cbc -K $encrypted_0a0919813b74_key -iv $encrypted_0a0919813b74_iv -in github_deploy_key.enc -out "$HOME/.ssh/github_deploy_key" -d
- chmod go-rwx "$HOME/.ssh/github_deploy_key"
- eval `ssh-agent -s`
- ssh-add "$HOME/.ssh/github_deploy_key"
- git config --global user.name "Deployment Bot (from Travis CI)"
- git config --global user.email "[email protected]"
install: make dependencies
script: make all test
after_success:
- DIR="`mktemp -d`"
- cd "$DIR"
- git init
- cp -r "$TRAVIS_BUILD_DIR/build/handout/." ./
- git add ./
- git commit -m "Committing built handout"
- git remote add origin "[email protected]:$TRAVIS_REPO_SLUG.git"
- git push -f origin master:handout