forked from minbox-projects/api-boot
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
32 lines (32 loc) · 826 Bytes
/
.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
language: java
sudo: false # faster builds
jdk:
- openjdk8
node_js: "10"
cache:
directories:
- $HOME/.m2
- $HOME/.npm
- node_modules
env:
global:
- TRAVIS_WORKER_HARD_TIMEOUT="80m"
- TRAVIS_WORKER_LOG_TIMEOUT="30m"
# Setting Maximum Log Length to 100MB
- TRAVIS_WORKER_MAX_LOG_LENGTH=100000000
before_script:
- npm install
# See details https://github.com/codecov/example-java-maven
script:
- mvn cobertura:cobertura
# Extend the waiting time for executing commands to 30 minutes
install: mvn clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true -Dmaven.test.skip=true
# Report to codecov
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
recipients:
on_success: change
on_failure: always