forked from nanomsg/nanomsg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: c
sudo: false
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
# - os: osx
# compiler: gcc
- os: osx
compiler: clang
before_script:
- gem install asciidoctor
script:
# Print all environment variables to aid in CI development
- printenv
# Print version and available CMake generators to aid in CI development
- cmake --version
- cmake --help
# Perform out-of-source build
- mkdir build
- cd build
# Perform CMake backend generation, build, and test
- cmake ..
- cmake --build . -- -j4
- ctest --output-on-failure -C Debug -j4
#deploy:
# provider: releases
# api_key:
# secure: fVMvvlhsginfIB7gEhAoKG7xzvF6D94yl8Z+jjfHQG4YtG3SScKVeQUnpWK7NhT90uoUfPnxd5dN3ZWlApoLBSz7iVD0sT1+VGYerM0Gn3LTUj3xvTB3WAAft6YePKhQeJfduzSNqsRjQ7buKgI1SFH0Ek5xwZe4Kl/O/D2Tsw0=
# file:
# - nanomsg-${TRAVIS_TAG}.zip
# - nanomsg-${TRAVIS_TAG}.tar.gz
# - nanomsg-${TRAVIS_TAG}.tar.bz2
# skip_cleanup: true
# on:
# tags: true
# repo: nanomsg/nanomsg