-
Notifications
You must be signed in to change notification settings - Fork 627
/
.travis.yml
17 lines (15 loc) · 980 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: java
sudo: true
# In below install command , we switch to Node v8.16.0 version since we need npm v5.7 or above to run `npm ci`
install:
- if [ -z "${SHELLCHECK-}" ]; then nvm install v14.15.5; fi
# Can't update to xenial distribution (ubuntu 16.04) bause of the Java JDK restriction (Not supporting )
dist: trusty
# Using -q Quiet output which only show errors, to overcome TravisCI log limit issue
script: mvn clean install -DskipTests -Dmaven.test.skip=true -q -B -V | grep -v DEBUG; test ${PIPESTATUS[0]} -eq 0;
cache:
directories:
- $HOME/.m2
- /home/travis/build/wso2/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules
- /home/travis/build/wso2/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/devportal/node_modules
- /home/travis/build/wso2/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/node_modules