Skip to content

Commit d3b5ee9

Browse files
committed
added docker build scripts
1 parent 03c22dc commit d3b5ee9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ node_js:
33
- "node"
44
cache:
55
directories:
6-
- "node_modules"
6+
- "node_modules"
7+
notifications:
8+
email:
9+
on_success: never
10+
on_failure: always
11+
after_success:
12+
- ./scripts/docker_build.sh

scripts/docker_build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
curl -H "Content-Type: application/json" --data '{"build": true}' -X POST https://registry.hub.docker.com/u/jakewmeyer/spacex-api/trigger/5e92e617-8b11-489f-a269-36ab24a4d7a5/;

0 commit comments

Comments
 (0)