This repository has been archived by the owner on May 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated license files and build script
- Loading branch information
Showing
4 changed files
with
257 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,37 @@ | ||
language: rust | ||
sudo: false | ||
addons: | ||
apt: | ||
packages: | ||
- libcurl4-openssl-dev | ||
- libelf-dev | ||
- libdw-dev | ||
- binutils-dev | ||
|
||
# run builds for all the trains | ||
rust: | ||
- stable | ||
- beta | ||
- nightly | ||
sudo: required | ||
- nightly | ||
- beta | ||
- stable | ||
- 1.0.0 | ||
|
||
# load travis-cargo | ||
before_script: | ||
- | | ||
pip install 'travis-cargo<0.2' --user && | ||
export PATH=$HOME/.local/bin:$PATH | ||
# the main build | ||
script: | ||
- cargo build --verbose | ||
- cargo test --verbose | ||
- cargo doc | ||
after_success: | | ||
[ $TRAVIS_PULL_REQUEST = false ] && | ||
[ $TRAVIS_RUST_VERSION = stable ] && | ||
sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev && | ||
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && | ||
tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && | ||
sudo make install && cd ../.. && | ||
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/vsop87_tests-* && | ||
[ $TRAVIS_BRANCH = master ] && | ||
echo '<meta http-equiv=refresh content=0;url=vsop87/index.html>' > target/doc/index.html && | ||
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 | ||
- | | ||
travis-cargo build && | ||
travis-cargo test && | ||
travis-cargo bench && | ||
travis-cargo --only stable doc | ||
after_success: | ||
- travis-cargo --only stable doc-upload | ||
- travis-cargo coveralls --no-sudo --verify | ||
|
||
env: | ||
global: | ||
- TRAVIS_CARGO_NIGHTLY_FEATURE="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.