aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-07-15 22:49:54 -0700
committerSteven Fackler <[email protected]>2014-07-15 22:49:54 -0700
commit2f877e7bccb15c238675e6e4acddfe43d720b04e (patch)
treec1d2d148267a6c2fb51d4a72bc247a5dcfc85e29
parentMerge pull request #28 from DiamondLovesYou/master (diff)
downloadrust-openssl-2f877e7bccb15c238675e6e4acddfe43d720b04e.tar.xz
rust-openssl-2f877e7bccb15c238675e6e4acddfe43d720b04e.zip
Switch to Cargo for Travis tests
-rw-r--r--.travis.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index e9a5ad98..213dacda 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,13 +3,12 @@ env:
- secure: qLvBJoJOJcPPZ+e31175O6sMUGBHgHe/kBuI0FCPeifYmpFyeRAkEvGddEkf8t3rojV+wE14CNYzzGsT/W/+JY7xW0C1FQKW3r+8SZ1Cave/8ahee0aCQVXGf0XY8c52uG6MrLGiUlNZbOsyFSdFUc/Io+kYZas4DxrinRSOIEA=
- LD_LIBRARY_PATH: /usr/local/lib
install:
- - curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- - tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- - (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
+ - curl http://www.rust-lang.org/rustup.sh | sudo sh -
before_script:
- openssl s_server -accept 15418 -www -cert test/cert.pem -key test/key.pem >/dev/null &
- - ./configure
script:
- - make all check doc
+ - cargo build
+ - cargo test
+ - rustdoc lib.rs
after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh