forked from pritpal20/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
executable file
·25 lines (25 loc) · 752 Bytes
/
.travis.yml
File metadata and controls
executable file
·25 lines (25 loc) · 752 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
sudo: true
language: cpp
compiler:
- gcc
# - clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq
install:
# install gcc-4.8 with c++11 support: https://github.com/travis-ci-tester/travis-test-gcc-cxx-11
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install g++-4.8 --force-yes
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
# https://github.com/travis-ci-tester/travis-test-clang-cxx-11
- sudo apt-get install libstdc++-4.8-dev
# verify installed versions
- which g++
- g++ -v
# - which clang
# - clang -v
script:
- make
- cd bench && make