Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.travis.yml - github.com/cxong/tinydir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4eaef76a85c5aa2e9d7d9579ca4c872b6f63eb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sudo: false

language: c

compiler:
  - gcc
  - clang

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - gcc-4.8

before_script:
    # force newer gcc version
  - if [ "$CC" = "gcc" ]; then export CC="gcc-4.8"; fi
    # show which tests failed
  - export CTEST_OUTPUT_ON_FAILURE=1

script:
  - mkdir build && cd build && cmake ../samples && make -j2 && cd .. && rm -rf build
  - mkdir build && cd build && cmake ../tests && make -j2 && make test && cd .. && rm -rf build