diff --git a/.travis.yml b/.travis.yml
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,15 +50,7 @@
   - echo $BINPATH
   - mv $BINPATH tomlcheck-$TARGET
   - ls tomlcheck-$TARGET
-  - |
-    if [ `uname` = "Darwin" ]
-    then
-      echo 'skipping tomlcheck download...'
-    else
-      wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.8/tomlcheck-x86_64-unkown-linux-gnu -O tomlcheck
-      chmod a+x tomlcheck
-      ./tomlcheck --file data/sample.toml
-    fi
+  - curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s
 
 deploy:
   api_key:
@@ -71,4 +63,5 @@
 
 branches:
   only:
+    - master
     - /\d+\.\d+\.\d+\.\d+.*$/
diff --git a/Justfile b/Justfile
--- a/Justfile
+++ b/Justfile
@@ -5,7 +5,7 @@
     sn c .
 
 next:
-    @export VERSION=$(cat tomlcheck.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1 | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "2s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" tomlcheck.cabal
+    @export VERSION=$(cat tomlcheck.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1 | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "2s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" tomlcheck.cabal && sed -i "4,8s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" sh/check
     git commit -am "for release"
 
 bench:
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -29,16 +29,8 @@
 
 ### Travis
 
-A sample script for your `.travis.yml` file:
+Add the following your `.travis.yml` file to check a `.toml` file:
 
 ```yaml
-test:
-  - |
-    if [ `uname` = "Darwin" ]
-    then
-      echo 'skipping tomlcheck download...'
-    else
-      wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.8/tomlcheck-x86_64-unkown-linux-gnu -O tomlcheck
-      chmod a+x tomlcheck
-      ./tomlcheck --file data/sample.toml
+  - curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s
 ```
diff --git a/sh/check b/sh/check
new file mode 100644
--- /dev/null
+++ b/sh/check
@@ -0,0 +1,11 @@
+#!/usr/bin/env sh
+if [ "$(uname)" = "Darwin" ]
+then
+    wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.19/tomlcheck-x86_64-apple-darwin -O tomlcheck
+    chmod a+x tomlcheck
+    ./tomlcheck --file data/sample.toml
+else
+    wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.19/tomlcheck-x86_64-unkown-linux-gnu -O tomlcheck
+    chmod a+x tomlcheck
+    ./tomlcheck --file data/sample.toml
+fi
diff --git a/tomlcheck.cabal b/tomlcheck.cabal
--- a/tomlcheck.cabal
+++ b/tomlcheck.cabal
@@ -1,5 +1,5 @@
 name:                tomlcheck
-version:             0.1.0.18
+version:             0.1.0.19
 synopsis:            Command-line tool to check syntax of TOML files
 description:         This is a command-line wrapper around htoml-megaparsec.
                      It is intended to be used as a syntax checker that can be
@@ -18,6 +18,7 @@
 Data-files:          .travis.yml
                    , appveyor.yml
                    , Justfile
+                   , sh/check
 Extra-doc-files:     README.md
 
 Flag optimize {
