Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (21 sloc) 550 Bytes
language: rust
email:
recipients:
- trishume@gmail.com
on_success: change # default: change
on_failure: change # default: always
rust:
- nightly
- stable
script:
- cargo build
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]
then
p=$(cd ./target/debug/build/onig_sys-*/out/lib/ && pwd)
echo "adding $p to linker path"
export LD_LIBRARY_PATH="${p}:${LD_LIBRARY_PATH}"
fi
- cargo test
- cargo doc
after_success: curl https://raw.githubusercontent.com/trishume/syntect/master/scripts/travis-doc-upload.sh | sh