[go: up one dir, main page]

syntect 1.3.0

library for high quality syntax highlighting and code intelligence using Sublime Text's grammars
Documentation
language: rust
email:
  recipients:
    - trishume@gmail.com
  on_success: change # default: change
  on_failure: change # default: always
rust:
  # Travis nightly tests are currently flakey as hell and fail for no reason before `cargo test` is run
  # Try enabling this again later.
  # - 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
  - make assets
  - rm -Rf examples
  - cargo doc
  # default features are required for examples to build - so remove them from sight.
  # Doc-tests may also use default features
  - rm -Rf examples && cargo test --lib --no-default-features
after_success: curl https://raw.githubusercontent.com/trishume/syntect/master/scripts/travis-doc-upload.sh | sh