-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (18 loc) · 426 Bytes
/
Copy path.travis.yml
File metadata and controls
24 lines (18 loc) · 426 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Travis CI integration for p4c using Docker.
branches:
only:
- master
- stable
services:
- docker
cache:
directories:
- $HOME/.ccache
env:
- CTEST_PARALLEL_LEVEL=4
install:
- tools/start_ccache
- docker build --network ccache_network -t p4c --build-arg IMAGE_TYPE=test .
script:
- docker run -w /p4c/build -e CTEST_PARALLEL_LEVEL p4c ctest --output-on-failure --schedule-random
- ls $HOME/.ccache