From 7c878de85a77a4d9a51a4f5742d69657fd85bd53 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周日, 01 9月 2019 15:11:33 +0800 Subject: [PATCH] add travis ci tests --- .travis.yml | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ebed1dc..317903d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,9 +34,19 @@ - libboost-system-dev - libboost-thread-dev - libboost-date-time-dev - +stages: + - compile + - test + before_script: - mkdir build - - cd build && cmake .. -script: - - make + - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install .. + +jobs: + include: + - stage: compile + script: + - make + make install + - stage: test + script: make test -- Gitblit v1.9.1