From e5134a99dfc488c839f938c6bf092cf0f69850f8 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <gcontini@users.noreply.github.com>
Date: 周日, 01 9月 2019 18:42:28 +0800
Subject: [PATCH] add tests to travis-ci

---
 .travis.yml |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2e4539c..88a8ea0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,12 +11,14 @@
              - valgrind
              - libssl-dev
              - zlib1g-dev
+             - libboost-dev
              - libboost-test-dev
              - libboost-filesystem-dev
              - libboost-iostreams-dev
              - libboost-program-options-dev
              - libboost-system-dev
              - libboost-thread-dev
+             - libboost-date-time-dev
    - os: linux
      dist: xenial
      addons:
@@ -26,15 +28,20 @@
              - valgrind
              - libssl-dev
              - zlib1g-dev
+             - libboost-dev
              - libboost-test-dev
              - libboost-filesystem-dev
              - libboost-iostreams-dev
              - libboost-program-options-dev
              - libboost-system-dev
              - libboost-thread-dev
- 
+             - libboost-date-time-dev
+
 before_script:
-  - mkdir build
-  - cd build && cmake ..
-script:
-  - make
+    - mkdir build
+    - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install ..
+
+script: 
+    - make 
+    - make install
+    - make test

--
Gitblit v1.9.1