-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
36 lines (31 loc) · 1020 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
language: cpp
sudo: required
dist: trusty
compiler:
- g++
# Setup different environments to test
env:
- CPP14=1
# Setup repos etc before installation
before_install:
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- sudo apt-get update -qq
# Install dependencies
install:
# install g++ 4.8, if tests are run with g++
- if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- CMAKE_URL="http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.tar.gz"
- mkdir cmake && travis_retry wget --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
- export PATH=${DEPS_DIR}/cmake/bin:${PATH}
- if [ "$CXX" == "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
script:
# ./configure
- cmake .
- make
- ./build/condor test/bug.cb
deploy:
skip_cleanup: true
provider: heroku
api_key:
secure: 8ca003e4-2371-450f-8c8e-e2fb4bff43c5
app: condorlang