forked from chaos/pdsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (59 loc) · 2.05 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
sudo: false
# dist: trusty
language: c
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- libmunge-dev
- libgenders0-dev
- genders
- clang-3.8
- gcc-6
cache:
directories:
- $HOME/local
- $HOME/.local
matrix:
include:
- os: linux
env: CC=gcc
- os: linux
env: CC=clang
- os: linux
env: CC=gcc-6
- os: linux
env: CC=clang-3.8
- os: osx
language: c
osx_image: xcode8.3
script:
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
scripts/travis-ci-deps.sh;
eval $(scripts/travis-ci-deps.sh --printenv);
fi
- ./bootstrap
- ./configure --with-exec --with-ssh --with-mrsh --with-genders --with-dshgroups --with-netgroup --with-machines
- export CFLAGS="-Werror -Wno-error=deprecated-declarations"
- make -j 2 check
after_failure:
- cat tests/test-suite.log
before_deploy:
- make dist
- export TAG_URI="https://github.com/${TRAVIS_REPO_SLUG}/blob/${TRAVIS_TAG}"
- export TARBALL=$(echo pdsh*.tar.gz)
- ls -l $TARBALL
- echo "Deploying tag ${TRAVIS_TAG} as $TARBALL"
deploy:
provider: releases
skip_cleanup: true
file: "$TARBALL"
body: View latest [NEWS](https://github.com/${TRAVIS_REPO_SLUG}/blob/${TRAVIS_TAG}/NEWS)
on:
condition: $TRAVIS_JOB_NUMBER = $TRAVIS_BUILD_NUMBER.1
tags: true
repo: chaos/pdsh
api_key:
secure: fq2Ob/0h2gkqFFwfL+TkWsjhdcxyyKnMxCGn2dmYnNahufKgnrxYtCde34X3rXksAH8knOuoclEG5lGzjl4plihDmBKcvrN+TsUztq6UcKpn/CYx9CTqo239XJE4+0bLL4UqyisWTBjjkQz4caVwwgi+JETx/eSkW6VyuDe1mIbPokOUbqULuOT6SBlLO1yR6QLt0qRtgdd0KB1uI9B1hSUq3QHNeDtZHBqTypnYiJLeIFWZd0ETxBjibJ1FE6KK4SxY413DYTu9YxLWjFDLm3ObQ/jeedmJ5iLr4bnnasu2/G07lJ4MWsOPp4ulmea/zUIWSk8wLu2x2KyYhWVlv9XU2AEPIc1Mc8y4xdBQuOqFAndMwszX/rQc+y0gsEXznKVXPebAbandZktbSqW06YkEf7ge6IMGA9fnNMoXIRT3GO6av5UKfyn4T8cx7ssBIZLYe5RLsGSN6y2tO7ExpVn4sIHGhn2u/gIWuthBSgXjm28bTaM7XTVlK63vXEMhRr8coJ5RcZLT3Yo37tUXSE4+WKQoBmsFG6yCCnBg3g7rBEMWdvj16o6rel4CD/fv8/y95bawIu7ROOuu1Q+1kOaHjm1mSDMUW1CJIMMs6kul3VLVxdJY2xvUxg0A2V2v1jh2AH3ZstfoDpnAH2S4HAs1DfZPzscbSdAZX4Sm9b8=