forked from ibm-developer/generator-ibm-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 722 Bytes
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: java
jdk:
- oraclejdk8
before_install:
- wget http://services.gradle.org/distributions/gradle-3.5-bin.zip
- wget https://github.com/github/hub/releases/download/v2.2.9/hub-linux-386-2.2.9.tgz
- shasum -a 256 -c ./sha256.txt
- unzip -qq gradle-3.5-bin.zip
- tar -xvzf hub-linux-386-2.2.9.tgz
- export GRADLE_HOME=$PWD/gradle-3.5
- export PATH=$GRADLE_HOME/bin:$PWD/hub-linux-386-2.2.9/bin/:$PATH
- gradle -v
- nvm install 6.9.1
- cd ./generator-java
- npm i -g makeshift && makeshift -r https://registry.npmjs.org
- npm install
script:
- ../build.sh
- ../deploy.sh
# Pull request builds and push builds only run when the target branch is one of these:
branches:
only:
- master