-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (21 loc) · 748 Bytes
/
Copy path.travis.yml
File metadata and controls
25 lines (21 loc) · 748 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
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo apt-get update -qq
- sudo apt-get install -y gcc-4.8 g++-4.8
# - sudo apt-get install -y clang-3.4
- sudo apt-get install cmake
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
# - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.4 20
# - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.4 20
# Change this to your needs
script:
- cmake --version
- mkdir build && cd build
- cmake ..
- make