diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2019-07-03 16:36:27 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2019-07-08 00:21:27 +0100 |
commit | 46ec5eda8de3580592692a4bd7fb3b54e66fc0f2 (patch) | |
tree | 97738f57dda53a3ec73089d23aaf6691d2c3f80f /.drone.yml | |
parent | 284151a61c5f1b292d7d1fd424f899c0695ea157 (diff) |
use drone to build
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fc79de0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +--- +kind: pipeline +name: build + +steps: +- name: run tests + image: golang + commands: + - sleep 5 + - make dep + - make test + environment: + MYSQL_TEST: true + MYSQL_TEST_HOST: mysql-server + MYSQL_TEST_USER: root + +services: +- name: mysql-server + image: mysql + environment: + MYSQL_ALLOW_EMPTY_PASSWORD: yes + MYSQL_DATABASE: certs + ports: + - 3306 |