-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (31 loc) · 978 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
33
34
35
36
language: cpp
compiler:
- gcc
- clang
script:
- xmllint -version
- echo "<html></html>" | xmllint --c14n --format - && echo
- ./waf configure build_release &&
./tests/vfmd-test/run_tests ./release/bin/vfmd
--dir="tests/vfmd-test/tests/*/*" --actual-fails
before_install:
# xmllint required for running vfmd-test tests
- sudo apt-get update -qq
- sudo apt-get install -qq libxml2 libxml2-utils
cache:
- apt # Use Travis cache for Ubuntu packages
# Deploy to OpenShift after tests pass
before_deploy:
# See https://github.com/travis-ci/travis-ci/issues/2272
- git fetch --unshallow
deploy:
provider: openshift
on:
# Deploy only once per push
condition: "$CC = gcc"
branch: master
user: [email protected]
password:
secure: fLPD5b3TVcVSOdm9S4nrqhKaZm6Cl3Yexl3eYKV/W9Y6sqz46OOEUx7j94XDjib5vH4OyYiLD7s0hSFCsRUcB8ULq2zPWOdlMP+HJDNrSfKrzuaSoNJxyqMtoBjVERDTFQfcagHf3QyYyMt6jqio72M7c445IOWNrpx2QMbuaLM=
app: omr
domain: vfmd