Skip to content

Commit 49d5cca

Browse files
author
Luke Spragg
committed
Update .travis.yml
1 parent 49bb83e commit 49d5cca

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

.travis.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,33 @@
1-
# Source language and JDK version to use.
1+
# Source language and JDK version to use
22
language: java
33
jdk: oraclejdk7
44

5-
# Compile and package JAR and set build properties.
6-
install: mvn package javadoc:javadoc cobertura:cobertura coveralls:cobertura -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=${TRAVIS_COMMIT:0:7} -DserviceJobId=$TRAVIS_JOB_ID
5+
# Compile and package JAR and set build properties
6+
install: mvn package -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=${TRAVIS_COMMIT:0:7}
7+
8+
# Perform steps after compilation/test success
79
after_success:
8-
# Get files for use with build, namely the custom Maven settings.xml.
9-
- "git clone https://github.com/ReactPhysics/travis-ci-resources.git target/travis"
10-
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, deploy artifacts to Maven repository.
11-
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == ReactPhysics/React ]] && [[ $TRAVIS_BRANCH == master ]] && mvn deploy --settings target/travis/settings.xml"
12-
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, update gh-pages branch with generated site/docs.
13-
## TODO: Only generate for release versions, not snapshots?
14-
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == ReactPhysics/React ]] && [[ $TRAVIS_BRANCH == master ]] && chmod +x target/travis/update-gh-pages.sh && ./target/travis/update-gh-pages.sh"
15-
# TODO: Add deployment to downloads site.
10+
# Get files for use with build, namely the custom Maven settings.xml
11+
- "git clone https://github.com/flow/travis-ci-resources.git target/travis"
12+
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, deploy artifacts to Maven repository
13+
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == flow/React ]] && [[ $TRAVIS_BRANCH == master ]] && mvn deploy --settings target/travis/settings.xml"
14+
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, update gh-pages branch with generated site/docs
15+
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == flow/React ]] && [[ $TRAVIS_BRANCH == master ]] && chmod +x target/travis/update-gh-pages.sh && ./target/travis/update-gh-pages.sh"
1616

17+
# Notification services
1718
notifications:
18-
# Disable build status email notifications, until the issue with forks is fixed.
19+
# Disable build status email notifications, until the issue with forks is fixed
1920
email: false
2021
webhooks:
21-
# Send build information and status to Notifico.
22+
# Send build information and status to Notifico
2223
- http://n.tkte.ch/h/1148/c1ZbS3rufJyzaghnxyW5Iu5e
2324

25+
# Environmental system variables
2426
env:
2527
global:
26-
- secure: "RfkXqulUgAeL5BSzWY42nec2xSTFsPi8/SPFgUeJ4qM7OXsDAl2CR/XUwW4YC5uGM0Gq1x+kKXph5/OXmovIW62YLvfUGTdEmEjTSGnwSafAxzVoHbV8glfo/0SX5CaQeZQvbRR6gJxSiNUWJGuiA3UbW3UOMJHKNaWOi1HMf48="
27-
- secure: "AjQ7sIgwFgicIvFZhRsn8KkA4H2XWEsIDH+QjRTLpOj8eoPcKP/IcfxH8X8KRNBJK/g84K+8YdGCDlZ9QJz349BI+Jzchp+pBAQyau8wK3nR1yerhOxFLwbOB7SdW/rMj+AfufJNq4QBzwjs1b4hoO7NRrmdb5rgbGfu1DeOFSE="
28+
# Make the log output cleaner
29+
- TERM=dumb
30+
# Super secure, encrypted variables! Ssssh!
31+
- secure: "bZNAAo5zzbW7QdDENi3SC1iZM4aoa8ppke/A0BE4IAlug/G+0bu3YEYrWFgHM6fm6FyOslxc+XEMej4hfHd+Lmj4wXiFCKUfJlqE6AQV6yyHljQrjdkBnQeWiLdWX1oz9UjxdJpEFuGrSFZ9xW3fKnWfDgDT47rTAGK3VbDrkz8="
32+
- secure: "DfECXrCJyKdNVzsO2LMMMyHA3F9vFwn0g00kxM1zCllpULmSQgH5GzxqJOAqfWdx8F9kQOrRcxsBz5AqIxZ+rBrYaDJTM20ogMbiy1zcAVt+2qUfl1H5hKSQRCYp+wwRzMUpet0/t7ANUAQVfbZx51oocPGAJZQ1XpWGZfpAQ5A="
2833
- secure: "KLGHvbSzebvL6CVFMexEXsLCKhkEM4RexL/e9WgGtnvtsXQ/Dtz/VVMAJd9YCS/sHIgBYW+HRGO7NOA1b2Loc7qDGjO21oOuljswCKiwZ/lytpaJ0s8Ygp8SGHMdoHJg/lvNBoI3u9kMYNtzZeFRJMTdfMgjwz3np6YIJ7V2anw="

0 commit comments

Comments
 (0)