-
Notifications
You must be signed in to change notification settings - Fork 141
/
.travis.yml
70 lines (62 loc) · 2.22 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
os: linux
language: java
jdk: openjdk11
cache:
directories:
- "$HOME/.m2"
notifications:
email:
recipients:
on_success: always
on_failure: always
webhooks:
urls:
- https://webhooks.gitter.im/e/26147fbe9b86b606f67d
on_success: always
on_failure: always
on_start: never
env:
global:
# OSS SONATYPE, CI_DEPLOY_USERNAME=...
- secure: hGeJ+dPc3AI/lOLIuVPuuo1LRrm432NXTsybYvlxIiRUpTDezHLWp/8okg+e+xF93jQSwzrTV0xBuH6upnixzzRzo/6fepT6OINe6a/W/VyQL7vUqOvypHWahU7a85sypEMZ7xSKohrixIIxx+NHjD61Q1s5kSc/r+yGkbU2pzI=
# OSS SONATYPE, CI_DEPLOY_PASSWORD=...
- secure: bcwHH/i43WCwnHb6C3G3hNgcS/OOVgCVxoXSUPtsYWcLZxb4cV05vUzs5VO/Iiw/YBRHEQM342yCKS46wunqv2wwEXpzWRTJG0Pwpn2tEj4fjp0OzPsiTx9AWYSkbiQjHoIGWC57LgxNzpuqHJsi4xnc9iiwQaV6mdlJP3Ofb7E=
# COVERITY_PROJECT_TOKEN=
- secure: mGSoZXHuppx4dFkpUZkv/0q46/Rh5wleKrqchXpBSEKaWcYEl0FhGCAZz+yCgoqnbu/oqZ5mdwtOdqrBNIdzKfpXSjvReHJijGTMUNHpn1j06nYY+ar5OFDBZcmublf7S93aG0LzxLzqvDvmUKxBiOsFgKr3A/NPJwhB21dYDSE=
jobs:
- TEST_SUITE="ibex"
- TEST_SUITE="1s"
- TEST_SUITE="10s"
- TEST_SUITE="checker"
- TEST_SUITE="expl"
- TEST_SUITE="mzn"
- TEST_SUITE="xcsp"
- TEST_SUITE="dimacs"
- TEST_SUITE="mps"
branches:
only:
- master
- modules
before_install:
- /bin/bash ./scripts/before_install.sh
- curl https://github.com/codacy/codacy-coverage-reporter/releases/download/6.0.0/codacy-coverage-reporter-6.0.0-assembly.jar -o codacy-coverage-reporter-assembly.jar
script: mvn clean install -DtestFailureIgnore=true -Dgroups=$TEST_SUITE
after_success:
- bash <(curl -s https://codecov.io/bash)
- java -jar ~/codacy-coverage-reporter-assembly.jar report -l Java -r build/reports/jacoco/test/jacocoTestReport.xml
jobs:
include:
- stage: deploy
env: TEST_SUITE=none
script: /bin/bash ./scripts/deploy.sh
cleanup: false
- provider: releases
env: TEST_SUITE=none
api_key:
secure: ZHDK6ygs4i0rinp0mQHD7nfwct/G1OqmJXrmbAht92TCfa36ffqqD4KFh/+FLO/hXd/PFxsIGVRwcVPtKxaKJ7+cO4jN9iXP4gGDQts83jwsJ/wbgajVfoHjLOJq2+YR+Ai1e21yyqrqZMDX84eW3UFO2BXwqFMPpiQIg/N8YII=
cleanup: false
#file: todo
on:
tags: true
branch: master