-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (40 loc) · 966 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
36
37
38
39
40
41
language: c
compiler: gcc
before_script:
- sudo apt-get update -qq
- sudo apt-get install -yq cmake
- sudo apt-get install -yq zlib1g-dev
- wget https://github.com/pmem/nvml/releases/download/1.1/nvml-1.1-dpkgs.tar.gz
- tar zxvf nvml-*.tar.gz
- sudo dpkg -i libpmem_*_amd64.deb
- sudo dpkg -i libpmem-dev_*_amd64.deb
script:
- mkdir build; cd build
- cmake ../
- make
- make test
## For GCC
# language: cpp
# compiler: gcc
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-5
# - g++-5
# before_install:
# - sudo apt-get update -q
# - sudo apt-get install -yq gcc-5 g++-5
# - sudo apt-get install -yq libgmp-dev libmpfr-dev libmpc-dev flex
# before_script:
# - export CC=gcc-5
# - export CXX=g++-5
# - cd gcc
# script:
# - ./configure --enable-languages=c,c++ --disable-multilib --enable-silent-rules --silent
# - make V=0 -j2 --no-print-directory
# branches:
# only:
# - master