Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 07b9201

Browse files
author
Evandro Carenho
committed
fix: Changing travis yaml to build project with node.
1 parent 87c9437 commit 07b9201

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,19 @@
2020
# under the License.
2121
#
2222

23-
language: java
23+
sudo: required
24+
dist: trusty
25+
language: node_js
26+
node_js:
27+
- "6.10"
28+
29+
addons:
30+
apt:
31+
packages:
32+
- openjdk-8-jdk
33+
- maven
34+
- rpm
2435

25-
install: true
2636
script:
2737
# Validate npmjs licenses
2838
- "if [[ \"$TRAVIS_PULL_REQUEST\" = \"false\" && $TRAVIS_BRANCH =~ dev ]]; then pushd integration-commons/src/main/webapp ; npm run license-check ; popd ; fi"
@@ -31,7 +41,5 @@ script:
3141
- "if [[ \"$TRAVIS_PULL_REQUEST\" != \"false\" ]]; then mvn clean install ; fi"
3242

3343
# Deploy to npmjs.org using semantic-release; make sure that NPM_TOKEN and GH_TOKEN are set on Travis settings
34-
after_success: "if [[ \"$TRAVIS_PULL_REQUEST\" = \"false\" && $TRAVIS_BRANCH =~ dev ]]; then pushd integration-commons/src/main/webapp ; npm run semantic-release ; popd ; fi"
3544

36-
jdk:
37-
- oraclejdk8
45+
after_success: "if [[ \"$TRAVIS_PULL_REQUEST\" = \"false\" && $TRAVIS_BRANCH =~ dev ]]; then pushd integration-commons/src/main/webapp ; npm run semantic-release ; popd ; fi"

0 commit comments

Comments
 (0)