Skip to content

Commit

Permalink
Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Beekman committed Mar 19, 2019
1 parent 9fe045a commit 680b60d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Not really necessary, just to get a green badge on “master”
- master
language: rust
dist: xenial
addons:
apt:
packages:
- libclang-dev
env:
- RUST_BACKTRACE=1 LLVM_CONFIG_PATH=llvm-3.8-config
script:
- cargo test --verbose --all
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ documentation = "https://docs.rs/cexpr/"
repository = "https://github.com/jethrogb/rust-cexpr"
keywords = ["C","expression","parser"]

[badges]
travis-ci = { repository = "jethrogb/rust-cexpr" }

[dependencies]
nom = {version = "^4", features = ["verbose-errors"] }

Expand Down
3 changes: 3 additions & 0 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
status = [
"continuous-integration/travis-ci/push",
]

0 comments on commit 680b60d

Please sign in to comment.