-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (36 loc) · 1.11 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
dist: trusty #bionic
sudo: true
language: cpp
branches:
only:
- inprogress
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- cmake-data
- cmake
- lcov
git:
submodules: false
before_script:
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules #use https url
- git submodule update --init --remote --recursive
- gem install coveralls-lcov # this ruby package is much easier to work with than the python package cpp-coveralls
# next 4 lines are for mkl
- wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
- sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
- sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
- sudo apt-get -y update
- sudo apt-get install -y intel-mkl-2019.0-045
script:
- ./build-cpu --build-debug --shared --code-coverage
after_script:
after_success:
- cd ${TRAVIS_BUILD_DIR}/debug-ann-cpu
- coveralls-lcov --repo-token "$ANN_COVERALLS_REPO_TOKEN" ann_coverage.info
notifications:
email: true