-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
45 lines (45 loc) · 1.5 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
sudo: false
language: rust
rust:
- nightly
- beta
- stable
matrix:
allow_failures:
- rust: nightly
env: TRAVIS_CARGO_NIGHTLY_FEATURE=lint
exclude:
- rust: beta
env: TRAVIS_CARGO_NIGHTLY_FEATURE=lint
- rust: stable
env: TRAVIS_CARGO_NIGHTLY_FEATURE=lint
branches:
only:
- master
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
cd cudnn
travis-cargo build -- --no-default-features &&
travis-cargo doc -- --no-default-features
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
after_success:
- travis-cargo doc-upload
- travis-cargo coveralls --no-sudo
notifications:
email:
on_success: never
env:
global:
secure: tjUWrMG4ThRh2UMnKnLsNwXlgVxrK0ThF1sRExMkL+B0ed4HMNNJ2fzb2q1iTkp9k3PNXxB4p00J6VIxG9jBgCN4AKv6YFWrR7XtNC0OqRt75YTeVomb3U07Xmzc2w+uHQHpUkKdK01DkRRSnCKXSmjH/AlKFP3wARQERTAzJf6x9W4YcAX7ycQPMxQqFJPeMkkJf5+uIK2KbldgroL/NGtdShuP52RgYoFeEQ3/920P2D2NQJvpLigKuWnGlSBwFHeqy8qSCMybCQ5CSzkXxkBmQ1MOPXhWlntbGUQbXmjZhwdUQDcremSJybuUfZ/clHyoFRYnIAn9Atbj1/pvff93Ur1zCTh/onwNSPghKmbh5AkUcF3keoS8+Z18uLCrmE12IBbQulmFqbWb1pIV+71CWVIJyRgBIjlS+b5n2oqR1B5A+Mfzkpzbh2QKJlw1b3BPrbpfa1GM1qPDSFgfW+zbJSboLDMGxVvxDHL/50THlHP68Em+bTkk2PvWQOgqpsZw6y56jHmA4o815OSgX6DtdGBP/cVmw4iO5XmGX1spIAl30x50AAvVCDLxOG6qlKSG7pecP7qyE7G1lATeWovjiifwxBUYfVE2cdFsVEfKbEsLPbv8OULa+fPy2Zp0L28xwdZC8pfWHc6jYBYlDgXUaTg76uPtSJGriOcgrfI=
matrix:
- TRAVIS_CARGO_NIGHTLY_FEATURE=travis
- TRAVIS_CARGO_NIGHTLY_FEATURE=lint