Gabriele Contini
2019-09-01 e5134a99dfc488c839f938c6bf092cf0f69850f8
add tests to travis-ci

1个文件已修改
25 ■■■■■ 已修改文件
.travis.yml 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.travis.yml
@@ -11,6 +11,7 @@
             - valgrind
             - libssl-dev
             - zlib1g-dev
             - libboost-dev
             - libboost-test-dev
             - libboost-filesystem-dev
             - libboost-iostreams-dev
@@ -27,6 +28,7 @@
             - valgrind
             - libssl-dev
             - zlib1g-dev
             - libboost-dev
             - libboost-test-dev
             - libboost-filesystem-dev
             - libboost-iostreams-dev
@@ -34,19 +36,12 @@
             - libboost-system-dev
             - libboost-thread-dev
             - libboost-date-time-dev
stages:
  - compile
  - test
before_script:
  - mkdir build
  - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install ..
jobs:
  include:
      - stage: compile
        script:
          - make
            make install
      - stage: test
        script: make test
before_script:
    - mkdir build
    - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install ..
script:
    - make
    - make install
    - make test