forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (31 loc) · 729 Bytes
/
.travis.yml
File metadata and controls
34 lines (31 loc) · 729 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
25
26
27
28
29
30
31
32
33
34
language: shell
services:
- docker
env:
- FORMAT_CHECKS=true
- BUILD_SERVER=true
- BUILD_EXAMPLES=true
- UNIT_TEST=true
- EXAMPLES_TEST=true
script:
- echo "build --show_progress_rate_limit=5.0" >> .bazelrc
- |
if [[ "${FORMAT_CHECKS}" == "true" ]]; then
./scripts/docker_run ./scripts/check_formatting
fi
- |
if [[ "${BUILD_SERVER}" == "true" ]]; then
./scripts/build_server_docker
fi
- |
if [[ "${BUILD_EXAMPLES}" == "true" ]]; then
./scripts/build_examples_docker
fi
- |
if [[ "${UNIT_TEST}" == "true" ]]; then
./scripts/docker_run ./scripts/run_tests
fi
- |
if [[ "${EXAMPLES_TEST}" == "true" ]]; then
./scripts/run_examples
fi