diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9f38eb1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+dist: xenial
+
+services:
+  - docker
+
+script:
+  - bash scripts/build.sh
+
+deploy:
+  provider: script
+  script: bash scripts/deploy.sh
+  on:
+    branch: master
diff --git a/scripts/build.sh b/scripts/build.sh
new file mode 100644
index 0000000..6b4199f
--- /dev/null
+++ b/scripts/build.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+set -e
+
+docker build -t tiangolo/docker-with-compose .
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
new file mode 100644
index 0000000..0d44b8b
--- /dev/null
+++ b/scripts/deploy.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -e
+
+bash scripts/build.sh
+bash scripts/push.sh
diff --git a/scripts/push.sh b/scripts/push.sh
new file mode 100644
index 0000000..865a2da
--- /dev/null
+++ b/scripts/push.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -e
+
+echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
+
+docker push tiangolo/docker-with-compose