-
Notifications
You must be signed in to change notification settings - Fork 149
/
.travis.yml
18 lines (18 loc) · 937 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: java
env:
global:
- TRAVIS_JDK=zulu@1.6.103
- JABBA_HOME=/home/travis/.jabba
before_install:
- curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh
install:
- $JABBA_HOME/bin/jabba install $TRAVIS_JDK && export JAVA_HOME="$JABBA_HOME/jdk/$TRAVIS_JDK" && export PATH="$JAVA_HOME/bin:$PATH" && java -Xmx32m -version
before_script:
- unset _JAVA_OPTIONS
- echo "debug=false" >> facebook4j-core/src/test/resources/test.properties && echo "oauth.appId=1" >> facebook4j-core/src/test/resources/test.properties && echo "oauth.appSecret=1" >> facebook4j-core/src/test/resources/test.properties && echo "oauth.accessToken=access_token" >> facebook4j-core/src/test/resources/test.properties
after_success:
- ./mvnw -pl facebook4j-core clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:cobertura
cache:
directories:
- $HOME/.m2
- $HOME/.jabba/jdk