-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
26 lines (26 loc) · 1.32 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
# To trigger a Travis-CI build for every GitHub push or Pull Request:
# 1. Goto https://travis-ci.org/profile/3D-e-Chem
# 2. Flip the switch for the `knime-pharmacophore` repo
language: java
matrix:
include:
- os: linux
jdk: openjdk8
script:
- xvfb-run mvn verify -B
- mvn sonar:sonar -Dsonar.login=$SONAR_TOKEN
- os: osx
osx_image: xcode8.3
script: Xvfb :5009 & export DISPLAY=:5009 && mvn verify -B
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
cache:
directories:
- $HOME/.m2
- $HOME/.sonar/cache
before_cache:
- rm -f $HOME/.m2/repository/nl/esciencecenter/e3dchem/knime/pharmacophore/nl.esciencecenter.e3dchem.knime.pharmacophore.feature/*/nl.esciencecenter.e3dchem.knime.pharmacophore.feature-*.jar.lastUpdated
- rm -f $HOME/.m2/repository/nl/esciencecenter/e3dchem/knime/pharmacophore/nl.esciencecenter.e3dchem.knime.pharmacophore.feature/*/resolver-status.properties
- rm -f $HOME/.m2/repository/nl/esciencecenter/e3dchem/knime/pharmacophore/nl.esciencecenter.e3dchem.knime.pharmacophore.plugin/*/nl.esciencecenter.e3dchem.knime.pharmacophore.plugin-*.jar.lastUpdated
- rm -f $HOME/.m2/repository/nl/esciencecenter/e3dchem/knime/pharmacophore/nl.esciencecenter.e3dchem.knime.pharmacophore.plugin/*/resolver-status.properties
install: mvn package -B