Add cases/ci travis

Signed-off-by: khs1994 <khs1994@khs1994.com>
This commit is contained in:
khs1994
2018-12-31 15:55:04 +08:00
parent 234ac706a3
commit efee23eca7
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
language: bash
dist: xenial
services:
- docker
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
script:
- echo "test code"
after_success:
- docker build -t username/alpine .
- docker push username/alpine

View File

@@ -0,0 +1,3 @@
FROM alpine
RUN echo "Hello World"