forked from cBioPortal/cancerhotspots
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
33 lines (33 loc) · 2.33 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
27
28
29
30
31
32
33
language: java
jdk: oraclejdk8
services:
- docker
cache:
directories:
- $HOME/.m2
- $HOME/maven
env:
global:
- MAVEN_VERSION=3.3.9
- secure: "apWe4XUBqEzMTuh0qVXZBd40h0xYlHoVnHlXk1je0BX1msX5z+k85eS5FSgphjd5Lfp31xD64LnBuvOI1QLfmKoPMeQj3US0IcmgY+/pA8ZRkToEEfuQfeYymA0p2z4tBe1Q2HLAQDB3nJT3NxMpt0wb2NlcGBvahwHr7wlqYTo8SsUbodDFAExRkhp5PvJkVfdz+k+ht4uv2isylLID2WSFZt5cS4gVX/j8Gr8z7EM4oAhbd3TURyEC3r+fWLttqPWxxuitxhV9QECK5MeZxd1V9x6DB30tcb3XgS6mJxPaTUvbHWBW3CHndb3E97TSNJrVYaGpx+GSaS4IdUdIPlByg2qvmN8dop5TeaxEoWNgU9F1P8LynGmMEPGmZ9mFVfcD59PxUd7nk60ghXoZYk7bmWB3knqa9ZCmvSsRQVc+sIwpv87MUAAP8AmJugGUFyK/4tnq60mT9n3gLy9PZ52w7ujBJKLcx56JvWWra0Tu8BKOW/i93jYZYYEct5/qMBKGEnBLziQJggKH9Ovupd8qi74n6YizpCuZ3SFHRMMMLn7u0fqhy8fBhMtxf7sDCPGfsm1PcHAddqdwnpG+d2LBQ0bSQHVwMNSoJgV+fdxpWddASwzdjsxrkruxV+1utL3HYHE8z4UPzrYkb8dSCx91PCOTz1mRVStLZkQV3bw="
- secure: "iQxTw3fteQgWW3zdNdoXjyMnutPQYq7ltcMsjdjOIf/3XXgQuJorgWs/LbIuYbbbACI8YWQa4BQLHLw2b6wf4XksJs0FiPHKNTWueux8H2xwTYWFgtGlk/cRzlc/PUbfSmLwpiUi1KYKPZaU76+wZyJLAwLe3GNfxl7I2nN/ZbheLMe0/58w2GvABJh4BKVD5xdoMsRavI60Nj2yxrZWfGlcpo5DVCcxqqWab+0A80/8uJHM+CWo4DyyK9bC5l0Q646rJ30tGrbpGf4VLsa0YT9z0lvqCzW5XpZD+sLAmONaAwTMTPOH0MoqX3RzemUOMRnVuJo71FrXpPTQuepNKDUTg068F3chwrswi90u0bei+KKtHnFYa5xqCaRX2iiWYIdnuAGiBhfbNH+vOZnjoMvk0FoKq4HHi2UdpzJMGqedQIFw6ajz23e1l/rd48NpO9PxxDe2QmlljKy8gvhfDsqEDkH0z33e5p/NjdC1/QwwN367nOj/ciRxdDLjQIUAZ9L3izQDJOsui55rIUIYSBFswnoAH7eb2CNGIGRHBZTJuJniQGBsmv8qy+OU5Lm7NTB3L9vKEWqZ65d69l7CNErl6OPhg11SegKnWF6wNB+u1ZObtYH/tnlghWPAHRUBgJRBC/JKlM5cFRIX89c2phUlg2ygMqy8U1sPWqFSgAw="
install:
# install maven
- |
mkdir -p ~/maven
test -d ~/maven/$MAVEN_VERSION/bin || { \
find ~/maven -mindepth 1 -delete && \
mkdir -p ~/maven/$MAVEN_VERSION && \
wget -O - http://www-us.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz | \
tar -C ~/maven/$MAVEN_VERSION --strip-components=1 -xzf -; }
script:
- mvn -PproductionPublic,jarSingle,docker -DskipTests clean install
- mvn -PproductionPublic,jar3d,docker -DskipTests clean install
after_success:
- |
if [[ "$TRAVIS_TAG" ]]
then
docker login -u $DOCKER_USER -p $DOCKER_PASS && \
docker push cbioportal/cancerhotspots && \
docker push cbioportal/3dhotspots
fi