-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
52 lines (43 loc) · 1.19 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
sudo: required
language: cpp
# Specify the operating system(s) to use. Here we use Ubuntu.
os:
- linux
# You can specify different distributions
dist: xenial # You can use 'bionic' for Ubuntu 18.04 LTS
addons:
apt:
# List of packages to be installed which are required for the build
packages:
- g++
- make
- libomp-dev
before_install:
# Update system repositories and install Boost
- sudo apt-get update
- sudo apt-get install libboost-all-dev # This installs Boost via apt-get if suitable
- sudo apt-get install python3 python3-pip python3-venv
# Define the script to run for building your project
script:
- echo "Building project"
- make all -j RABBIT_ENABLE=0
- make run-all FLUSH_CACHE=0
# Optionally define after successful build actions
after_success:
- echo "Build successful!"
# Cache settings to speed up build process
cache:
directories:
- $HOME/.cache
# Notify me by email when the build status changes
notifications:
email:
recipients:
on_success: change # default: change
on_failure: always # default: always
branches:
only:
- main