forked from damianszczepanik/cucumber-reporting
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
executable file
·47 lines (39 loc) · 1.57 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: java
cache:
directories:
- ~/.m2
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "erPk0ACAA2A4i+ik4RKhLS6xAWRqC03KuaQ8dD91Oy8fsIRJdTu7w+woATRW2rESak6qHsp0aZvzEz9WaIrxFxpn/8DEPPgXQK/Hz3bm+zySTwELy0HCEO+ATEbdGMjpSoGlDRUS3eu0zBGOfZHI7Jp3LQYiycZO7PIzaxWo2UI="
before_install:
# Workaround for issue http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7089443
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
matrix:
include:
- jdk: oraclejdk7
# coding standard
script: mvn clean test
- jdk: openjdk7
# use 'verify' phrase to execute integration tests
# run integration test only one due the the Google quota limitation
script: mvn clean verify
- jdk: oraclejdk8
# only tests
script: mvn clean test
after_success:
bash <(curl -s https://codecov.io/bash)
addons:
coverity_scan:
project:
name: "damianszczepanik/cucumber-reporting"
description: "Build submitted via Travis CI"
# Where email notification of build analysis results will be sent
notification_email: [email protected]
# Commands to prepare for build_command
build_command_prepend: "mvn clean"
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
build_command: "mvn -DskipTests=true compile"
# Pattern to match selecting branches that will run analysis.
branch_pattern: master