forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (38 loc) · 910 Bytes
/
.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
language: rust
rust:
- stable
- beta
- nightly
sudo: false
script:
- ./configure --prefix=$HOME/cargo-install --disable-cross-tests --disable-optimize
- make
- make test
- make distcheck
- make doc
- make install
- make uninstall
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $(uname -s) = Linux ] &&
pip install ghp-import --user $USER &&
$HOME/.local/bin/ghp-import -n target/doc &&
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
global:
- secure: scGpeetUfba5RWyuS4yt10bPoFAI9wpHEReIFqEx7eH5vr2Anajk6+70jW6GdrWVdUvdINiArlQ3An2DeB9vEUWcBjw8WvuPtOH0tDMoSsuVloPlFD8yn1Ac0Bx9getAO5ofxqtoNg+OV4MDVuGabEesqAOWqURNrBC7XK+ntC8=
os:
- linux
- osx
branches:
only:
- master
addons:
apt:
sources:
- kalakris-cmake
packages:
- cmake
- g++-multilib
- lib32stdc++6