aboutsummaryrefslogtreecommitdiff
path: root/structopt/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'structopt/.travis.yml')
-rw-r--r--structopt/.travis.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/structopt/.travis.yml b/structopt/.travis.yml
new file mode 100644
index 0000000..dff3050
--- /dev/null
+++ b/structopt/.travis.yml
@@ -0,0 +1,24 @@
+language: rust
+matrix:
+ include:
+ - rust: stable
+ name: check if `cargo fmt --all` is applied
+ before_script: rustup component add rustfmt-preview
+ script: cargo fmt --all -- --check
+
+ - language: node_js
+ node_js: node
+ name: check links
+ install: npm install -g markdown-link-check
+ script:
+ - markdown-link-check -c link-check-headers.json README.md
+ - markdown-link-check -c link-check-headers.json CHANGELOG.md
+ - markdown-link-check -c link-check-headers.json examples/README.md
+
+ - rust: 1.36.0
+ - rust: stable
+ - rust: beta
+ - rust: nightly
+
+script:
+ - cargo test $FEATURES