summaryrefslogtreecommitdiffstats
path: root/openat/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'openat/.travis.yml')
-rw-r--r--openat/.travis.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/openat/.travis.yml b/openat/.travis.yml
new file mode 100644
index 0000000..503b688
--- /dev/null
+++ b/openat/.travis.yml
@@ -0,0 +1,35 @@
+sudo: false
+dist: trusty
+language: rust
+
+cache:
+- cargo
+
+before_cache:
+- rm -r $TRAVIS_BUILD_DIR/target/debug
+
+jobs:
+ include:
+ - os: linux
+ rust: stable
+ - os: linux
+ rust: beta
+ - os: linux
+ rust: nightly
+ - os: macos
+ osx_image: xcode9.3
+ rust: stable
+
+ # deploy
+ - stage: publish
+ os: linux
+ rust: stable
+ env:
+ install: true
+ script: true
+
+ deploy:
+ - provider: script
+ script: 'cargo publish --verbose --token=$CARGO_TOKEN'
+ on:
+ tags: true