-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
35 lines (25 loc) · 1012 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
sudo: required
language: c++
services:
- docker
compiler:
- g++
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
branches:
only:
- master
before_install:
- docker pull mingchen/tc-client
# Because docker drop CAP_DAC_READ_SEARCH, so name_to_handle_at() will fail.
# Therefore, we cannot run the Ganesha server in Docker!
# - docker run -d mingchen/tc-client /bin/sh -c "git clone https://github.com/sbu-fsl/tc-server.git; ./tc-server/src/scripts/build-and-run.sh;"
script: docker run mingchen/tc-client /bin/sh -c "git clone https://github.com/sbu-fsl/txn-compound.git /tc-latest && /tc-latest/scripts/build-and-test.sh"
#script: docker run mingchen/tc-client /bin/sh -c "git clone https://github.com/sbu-fsl/tc-server.git && ./tc-server/src/scripts/build-and-run.sh && git clone https://github.com/sbu-fsl/txn-compound.git /tc-latest && /tc-latest/scripts/build-and-test.sh"
notifications:
email:
recepients:
on_success: always
on_failure: always