forked from knsd/daemonize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 1.7 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
sudo: required
language: rust
# necessary for `travis-cargo coveralls --no-sudo`
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev # optional: only required for the --verify flag of coveralls
# run builds for all the trains (and more)
rust:
- nightly
- beta
# check it compiles on the latest stable compiler
- stable
# load travis-cargo
before_script:
- |
sudo pip install 'travis-cargo<0.2'
# the main build
script:
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo --only stable doc
after_success:
# upload the documentation from the build with stable (automatically only actually
# runs on the master branch, not individual PRs)
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo --verify
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
# encrypted github token for doc upload (see `GH_TOKEN` link above)
- secure: "KiqojVvSvs6KXQ9PEC2O1X6ExR89Ms+V+W9EzL5bdkfgAREDbzt5fCzS297gLZAWe6SAeRmYMeiCyU2XPp3tVn5udwaBbi2N69VGFTxwhR41j/uIEniu2GJAdPvsdRVCOosdQzpOdxHwE1NV5iTZiBHN2fx+qOHxVitCI4PhkxPJOuF+bHbDJaYP7VsIj/KzmWGyH2R9lX0MIerqCwhlLS1Qd0poxZgDypbFPyZ+y05TZqLkxMWBPsfiIUVA8VY+1BK/0Z19vaJ4Ng3M4/yT1mawlGn2AbfbvACqfZgkb5e8ei+32IGAVMpyaooU4kyqWJ60JoBnCdZ69McJU3Q+Yrszx7tTbCM56FY3eZ4W+/AH6H6E5owbRM05lc9CdfrpF2lJ0fB+rerIpuVVAf+RKvOhll8K38T9AF9D7a+2z8tt2WO3D8Ynyf+S9zmIvLc6iX5Xdx0Ptn9ivD5q50sqLGiMsR7gqMToVdKjBbWqcymCb8zRW4bX6GP3n5BAIAnBbvMAOCDgEzD5aRzDlRIE4KlCAto02Nuy7dvMYv47eRTYr9ljiy+2bpayGVi0hxxUf1zkHZZQYgLQkSNuiZcSptEVRWaZgLY0TNeotbylmA5yxliXwLfDMcb6B6XhYNgp64wYTRVabZuxzBM/L3c+IdqjtqoyuziMonLnqHQmZmk="
notifications:
webhooks:
- http://heimdallr.thesharp.org/travis