summaryrefslogtreecommitdiff
path: root/third_party/pkg-config-rs/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/pkg-config-rs/.travis.yml')
-rw-r--r--third_party/pkg-config-rs/.travis.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/pkg-config-rs/.travis.yml b/third_party/pkg-config-rs/.travis.yml
new file mode 100644
index 0000000..f02def7
--- /dev/null
+++ b/third_party/pkg-config-rs/.travis.yml
@@ -0,0 +1,25 @@
1language: rust
2rust:
3 - stable
4 - beta
5 - nightly
6sudo: false
7script:
8 - cargo build --verbose
9 - |
10 [ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose
11 - cargo doc
12after_success: |
13 [ $TRAVIS_BRANCH = master ] &&
14 [ $TRAVIS_PULL_REQUEST = false ] &&
15 [ $TRAVIS_RUST_VERSION = nightly ] &&
16 echo '<meta http-equiv=refresh content=0;url=pkg_config/index.html>' > target/doc/index.html &&
17 pip install ghp-import --user $USER &&
18 $HOME/.local/bin/ghp-import -n target/doc &&
19 git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
20env:
21 global:
22 secure: XlfwiQ+fPgRWqFwHbyPTma2FAVtgN+IXFpkiIdh1sKxWEeHMqABrTtOKf/NugDYCGsOJfr2vb5qFL6teBV2lTXOffUIWj+1hMd0N/FbVKWzABBV02XdxQi8w2ptPez5LPRTEfXJRRHmJpc8ww2aCTIrdT3AQE2oqZM/jHJTi/1U=
23notifications:
24 email:
25 on_success: never