-
Notifications
You must be signed in to change notification settings - Fork 48
/
.travis.yml
88 lines (73 loc) · 3.06 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
sudo: required
dist: trusty
language: java
jdk: oraclejdk8
before_install:
- pip install --user codecov
after_success:
- codecov
install: true
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: "jC6k+HD0W1CmVj6+q1DAtXN8azeAWp+8BKCwqhBgjCDJOk00ZaFWy14rkNUWGPq7bqHZG0hdd/aZWz8+KqnO9rBTVijyC4WyL+Oxg5Y9OsM2+x8+M6p34Uw5XDFt4q0jMomP4EWqunr2gmytGSrQqRQDxuvksxSVmCMhJTBF9psZjWjQQoMsC0A8jTFM6sWIqFTisLZWl0oxf4A4XPgl3oaXKyxEK1zONWwbQ/iqT+yXUD/43gU+u57+StEjE+HNvGqxglOLZqJsjnFRQo+T9+JV0JR6Mc+n/QHscnQNlJJopI8atCYWskKUkj443ocsaO4MlxTAOJhwiOuvoVREmpJAsZ2V052fijiFi7G250Q/wQ6bmqZuovO2JSFdkmp2HHXfJtbRhRhZeZ22CAh8JHvJ3iB40yI9dFY/P6KmPfk3g6IlHDIJqcDLxue2/xtbfibVwBptZYVXZjLcYmjHsk7mhyS3EGqjyYTKOO5e8X5+Isfcr/PkEZIJvup+WmlfjjfZwV35TEr+TCLRMRU9BJZohCamR6FhMAC9CvhCde8OoB1zAeegAKepZARwegpcLLrJXVCiARvs+WU52s/pCEaDnPO/OpKE343MSjV3g+uKn2YPfNoLno9aOJMKUwTtJc72ppCPxRBxwdZiPZ35SEtWNqe+D+pGDBcg+CDACl0="
- COVERITY_SCAN_PROJECT_NAME="KostyaSha/yet-another-docker-plugin"
- COVERITY_SCAN_BRANCH_PATTERN="master"
- COVERITY_SCAN_NOTIFICATION_EMAIL="[email protected]"
matrix:
- repo="main" DOCKER_VERSION="17.05.0~ce-0~ubuntu-trusty" CODECOV=true COVERITY=false
- repo="main" DOCKER_VERSION="1.13.1-0~ubuntu-trusty" CODECOV=true
- repo="main" DOCKER_VERSION="1.12.6-0~ubuntu-trusty" CODECOV=true
- repo="main" DOCKER_VERSION="1.11.2-0~trusty" CODECOV=true
cache:
directories:
- $HOME/.travis_cache
- /tmp/coverity-cache
- $HOME/.m2 # install will pollute it
before_install:
- pip install --user codecov
- ./.travis/travis-before-install.sh
script:
- ./.travis/travis-script.sh
#script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./travis.sh ; fi
after_success:
- ./.travis/travis-after-success.sh
# - MAVEN_OPTS=-Xmx512m ./mvnw site site:stage
- rm -rf ~/.m2/repository/com/github/kostyasha/yet-another-docker
after_failure:
- rm -rf ~/.m2/repository/com/github/kostyasha/yet-another-docker
- ./.travis/travis-after-failure.sh
before_deploy:
- rm -rf ~/.m2/repository/com/github/kostyasha/yet-another-docker || :
after_script:
- sudo cat /var/log/upstart/docker.log
- docker ps -a
- docker images
#addons:
# coverity_scan:
# project:
# name: "KostyaSha/yet-another-docker-plugin"
# description: "Build submitted via Travis CI"
# notification_email: "[email protected]"
# build_command_prepend: "./mvnw clean"
# build_command: "./travis.sh"
# branch_pattern: master
#addons:
# artifacts:
# s3_region: us-east-1
# bucket: "travis-kostyasha"
# debug: true
# paths:
# - yet-another-docker-its/target/surefire-reports/
# - site/
# - docker-logs/
# - mvn.log
# target_paths: yet-another-docker-plugin/$TRAVIS_BRANCH/$TRAVIS_BUILD_ID/$TRAVIS_JOB_ID
#deploy:
# provider: s3
# access_key_id:
# bucket: "travis-kostyasha"
# s3_region: "us-west-2"
# local_dir: /home/travis/build/KostyaSha/yet-another-docker-plugin/yet-another-docker-its/target/surefire-reports
# upload-dir: