forked from UCATLAS/xAODAnaHelpers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (26 loc) · 783 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
# our main test script
services: docker
language: ruby
# only test 'push' builds to master (including PRs that target master)
branches:
only:
- master
# below are specific matrix includes for building documentation
# and running cppcheck (not actually used)
matrix:
fast_finish: true
include:
- language: cpp
sudo: required
services:
- docker
env: JOB="uncrustify check"
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull unibeautify/uncrustify
script:
- docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/uncrustify -c ci/uncrustify.cfg --check **/**.cxx || exit 0
notifications:
email:
on_success: never
on_failure: always