From 9445e20573c687651318daeb4871108ec3cb71ad 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 |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2e4539c..317903d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,7 @@
              - libboost-program-options-dev
              - libboost-system-dev
              - libboost-thread-dev
+             - libboost-date-time-dev
    - os: linux
      dist: xenial
      addons:
@@ -32,9 +33,20 @@
              - libboost-program-options-dev
              - 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