aboutsummaryrefslogtreecommitdiff
path: root/Client/ThirdParty/fpm/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Client/ThirdParty/fpm/.travis.yml')
-rw-r--r--Client/ThirdParty/fpm/.travis.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/Client/ThirdParty/fpm/.travis.yml b/Client/ThirdParty/fpm/.travis.yml
new file mode 100644
index 0000000..d920b0e
--- /dev/null
+++ b/Client/ThirdParty/fpm/.travis.yml
@@ -0,0 +1,39 @@
+language: cpp
+dist: xenial
+
+sudo: false
+os:
+ - linux
+
+before_install:
+ - sudo apt-get install -y gnuplot
+
+matrix:
+ include:
+ - os: linux
+ compiler: gcc
+ env: CONFIG=Debug
+ - os: linux
+ compiler: gcc
+ env: CONFIG=Release
+ - os: linux
+ compiler: clang
+ env: CONFIG=Debug
+ - os: linux
+ compiler: clang
+ env: CONFIG=Release
+
+script:
+ - set -e
+ - mkdir -p build && cd build
+ - cmake -DCMAKE_BUILD_TYPE=$CONFIG .. && make -j
+ - ctest --output-on-failure
+ - make fpm-accuracy-images -j
+
+addons:
+ artifacts:
+ working_dir: build
+ paths:
+ - $(ls accuracy-*.png | tr "\n" ":")
+ target_paths:
+ - fpm