From 37ac994f2be71eb5efb356c54aa987a5efb5101d Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 摹曛, 29 8月 2019 19:28:10 +0800
Subject: [PATCH] test new travis configuration

---
 .travis.yml |   42 +++++++++++++++++++++++++++++++++++++-----
 1 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c02c2fe..2e4539c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,40 @@
 language: cpp
 
-branches:
-  only:
-    - master
-
+matrix:
+   include:
+   - os: linux
+     dist: bionic
+     addons:
+        apt:
+          packages:
+             - cmake
+             - valgrind
+             - libssl-dev
+             - zlib1g-dev
+             - libboost-test-dev
+             - libboost-filesystem-dev
+             - libboost-iostreams-dev
+             - libboost-program-options-dev
+             - libboost-system-dev
+             - libboost-thread-dev
+   - os: linux
+     dist: xenial
+     addons:
+        apt:
+          packages:
+             - cmake
+             - valgrind
+             - libssl-dev
+             - zlib1g-dev
+             - libboost-test-dev
+             - libboost-filesystem-dev
+             - libboost-iostreams-dev
+             - libboost-program-options-dev
+             - libboost-system-dev
+             - libboost-thread-dev
+ 
+before_script:
+  - mkdir build
+  - cd build && cmake ..
 script:
-  - cd build/linux && cmake ../.. --build
\ No newline at end of file
+  - make

--
Gitblit v1.9.1