forked from SiegeLord/RustGnuplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 840 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
language: rust
rust: nightly
notifications:
email:
on_success: never
env:
global:
- secure: cMdl5JREmUN4TRXLV2lZBfOWcNem52fZR60Jl0w39xYv0RbC+NM6EwSzYgyrJeYgMlONGpam+70nO8g/gmcqLw40ve22wvs4FqcANytquHUDultx2kpkfjqxzzTCYznqR082AK7Iva88RfULXJgEQRymVtF7LRod2t2PS7ma8To=
- secure: NlRCSw0MsRyQQIx4KWCg2smQ1gwtA2EULEbTbHB4RlTCcLk6WWHJaF4pmQzZR0c7lNntOLbcqCrgrZ+ivstz6gIOtETNW2GaKJ5cepFkLxLVkAI60vIl9k3p4mv/y+bvtabsQrCoEZ2NCWqrtoZJP15JUdhiIHyZz2ejgE98YeU=
script:
- cargo test
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/tmp
- make -j
- make doc -j
- make install
- cd examples
- ./example1 --no-show
- ./example2 --no-show
- ./example3 --no-show
- ./example4 --no-show
- cd ..
after_success:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
- ../doc/gh_pages_upload.sh