summaryrefslogtreecommitdiffstats
path: root/.travis.yml.disabled
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-13 18:01:22 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-13 18:01:24 -0700
commit8ca4e2357de37baf88b03e6cb43ddb1b57d4dcb4 (patch)
treed1678e0add292b867061b50eb144bc4d3d43c54d /.travis.yml.disabled
parent4c4483df28c14c702cc4e751da48879f0986946a (diff)
downloadfatcat-8ca4e2357de37baf88b03e6cb43ddb1b57d4dcb4.tar.gz
fatcat-8ca4e2357de37baf88b03e6cb43ddb1b57d4dcb4.zip
disable travis-ci for now
I hoped adding docs, coverage, etc would be a quick and easy task, but after an hour or two it felt like a yak shave.
Diffstat (limited to '.travis.yml.disabled')
-rw-r--r--.travis.yml.disabled50
1 files changed, 50 insertions, 0 deletions
diff --git a/.travis.yml.disabled b/.travis.yml.disabled
new file mode 100644
index 00000000..e1f84a4e
--- /dev/null
+++ b/.travis.yml.disabled
@@ -0,0 +1,50 @@
+sudo: required
+language: rust
+
+# Cache cargo symbols for faster build
+cache: cargo
+
+# Dependencies of kcov, used by coverage
+addons:
+ apt:
+ packages:
+ - libcurl4-openssl-dev
+ - libelf-dev
+ - libdw-dev
+ - binutils-dev
+ - cmake # also required for cargo-update
+ sources:
+ - kalakris-cmake
+
+# run builds for all the trains (and more)
+rust:
+ #- nightly
+ #- beta
+ # check it compiles on the latest stable compiler
+ - stable
+ # and the first stable one (this should be bumped as the minimum
+ # Rust version required changes)
+ #- 1.0.0
+
+before_script:
+ - cd rust
+ - export PATH=$HOME/.cargo/bin:$PATH
+ - cargo install cargo-update || echo "cargo-update already installed"
+ - cargo install cargo-travis || echo "cargo-travis already installed"
+ - cargo install-update -a # update outdated cached binaries
+
+# the main build
+# cargo bench &&
+script:
+ - |
+ cargo build &&
+ cargo test &&
+ cargo doc
+
+after_success:
+# upload documentation to github.io (gh-pages branch)
+# Do this manually for now, because couldn't get auto-push set up in a
+# reasonably secure way (travis/github API access errors)
+# - cargo doc-upload
+# measure code coverage and upload to coveralls.io
+ - cargo coveralls