This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/.travis.yml

30 lines
1000 B
YAML
Raw Permalink Normal View History

2016-05-20 22:19:40 +02:00
# Use container-based distribution
sudo: false
language: c++
2016-10-10 18:22:56 +02:00
addons:
apt:
sources: &default_sources
2016-10-10 18:22:56 +02:00
- ubuntu-toolchain-r-test
2016-05-20 22:19:40 +02:00
matrix:
include:
- env: COMPILER_NAME=g++ _CXX=g++-6
os: linux
language: cpp
2016-10-10 18:22:56 +02:00
addons:
apt:
sources:
- *default_sources
2016-10-10 18:22:56 +02:00
packages:
- g++-6
2016-05-20 22:19:40 +02:00
script:
2016-11-29 02:43:17 +01:00
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="http://www.cmake.org/files/v3.9/cmake-3.9.4-Linux-x86_64.tar.gz";
2016-11-29 02:43:17 +01:00
mkdir cmake-bin && wget --quiet --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake-bin;
export PATH=${PWD}/cmake-bin/bin:${PATH};
fi
- git submodule update --recursive --init
- mkdir -p build/debug
- cd build/debug
- cmake ../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=$_CXX -DTOKENIZE_BUILD_TESTS=ON -DPDDL_BUILD_TESTS=ON -DPLASP_BUILD_TESTS=ON
- make -j3 plasp-app && make -j3 run-tokenize-tests && make -j3 run-pddl-tests && make -j3 run-tests