-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
26 lines (24 loc) · 1.04 KB
/
.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
language: cpp
os: linux
dist: xenial
branches:
except:
- master # Skip building master since updating the README.md doesn't need to trigger a new build
env:
# Change the definitions if your binary or source folder are different
- SRC_DIR=src TRIPLET_CHALLENGE="./triplet_challenge pg2009.txt"
addons:
apt:
sources:
# Include here any new source that you may need to install a package
packages:
# Include the specific packages that you need
# Modify the script lines to compile and program
script:
# Take a look at https://github.com/pamarcos/triplet_challenge/blob/cpp/.travis.yml to see a full example of a C++ build
- wget https://raw.githubusercontent.com/pamarcos/triplet_challenge/master/check_result.sh -O check_result.sh
- bash check_result.sh
# Do not change the `after_success` lines since they are used to collect results to compare with other implementations
after_success:
- wget https://raw.githubusercontent.com/pamarcos/triplet_challenge/master/after_success.sh -O after_success.sh
- bash after_success.sh