Add travis and appveyor scripts

This commit is contained in:
Philipp Oppermann
2019-01-27 15:19:59 +01:00
parent bb569d0794
commit a2c0be6da2
2 changed files with 102 additions and 0 deletions

30
.travis.yml Normal file
View File

@@ -0,0 +1,30 @@
language: rust
rust:
- nightly
os:
- linux
notifications:
email:
on_success: never
on_failure: always
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Build pull requests.
- master
# Build post braches
- /^z_post_.*$/
cache:
directories:
- $HOME/.cargo
script:
- cargo rustc -- -Z pre-link-arg=-nostartfiles