lzw-assignment/.travis.yml

66 lines
1.4 KiB
YAML
Raw Normal View History

2018-05-03 10:04:43 +00:00
sudo: false
2018-04-06 02:15:11 +00:00
language: cpp
2018-05-03 10:04:43 +00:00
compiler: clang
2018-05-03 09:55:53 +00:00
os: linux
dist: trusty
2018-05-03 10:12:15 +00:00
addons:
apt:
2018-06-18 15:10:49 +00:00
config:
retries: true
2018-05-03 10:12:15 +00:00
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
2018-05-03 10:29:37 +00:00
- g++-7
2018-05-03 10:12:15 +00:00
- clang-5.0
2018-04-08 13:13:40 +00:00
matrix:
2018-05-03 10:04:43 +00:00
include:
2018-05-03 10:20:17 +00:00
# Linux Clang C++17
2018-05-03 10:12:15 +00:00
- env:
BUILD_TYPE=Debug
BIN_DIR=debug
CC=clang-5.0
CXX=clang++-5.0
- env:
BUILD_TYPE=Release
BIN_DIR=bin
CC=clang-5.0
CXX=clang++-5.0
2018-05-03 10:20:17 +00:00
# Linux GCC C++17
- env:
2018-05-03 10:40:56 +00:00
- MATRIX_EVAL="BUILD_TYPE=Debug && BIN_DIR=debug && CC=gcc-7 && CXX=g++-7"
2018-05-03 10:20:17 +00:00
compiler: gcc
2018-05-03 10:40:56 +00:00
before_install:
- eval "${MATRIX_EVAL}"
2018-05-03 10:20:17 +00:00
- env:
2018-05-03 10:40:56 +00:00
- MATRIX_EVAL="BUILD_TYPE=Release && BIN_DIR=bin && CC=gcc-7 && CXX=g++-7"
2018-05-03 10:20:17 +00:00
compiler: gcc
2018-05-03 10:40:56 +00:00
before_install:
- eval "${MATRIX_EVAL}"
2018-05-03 10:48:18 +00:00
# OSX Clang
2018-06-15 17:54:47 +00:00
# - os: osx
# osx_image: xcode9.3
# env:
# BUILD_TYPE=Release
# BIN_DIR=bin
# before_install:
# - brew update
# install:
# brew upgrade cmake
# - os: osx
# osx_image: xcode9.3
# env:
# BUILD_TYPE=Debug
# BIN_DIR=debug
# before_install:
# brew update
# install:
# brew upgrade cmake
2018-05-03 10:12:15 +00:00
script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- make -j