From 0a2d27121cfbc948b3d75f1bee019452a6bb24ae Mon Sep 17 00:00:00 2001 From: long2ice Date: Thu, 16 Apr 2020 20:41:05 +0800 Subject: [PATCH] add .travis.yml --- .travis.yml | 18 ++++++++++++++++++ README.rst | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cd90aaf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: node_js +node_js: stable +install: + - npm install +script: + - npm run build +deploy: + provider: pages + skip_cleanup: true + local_dir: dist + github_token: $GITHUB_TOKEN + keep_history: true + fqdn: fastapi-admin.long2ice.cn + on: + branch: master + repo: fastapi-admin + email: long2ice@gmail.com + edge: true \ No newline at end of file diff --git a/README.rst b/README.rst index 0a01c05..90c8e1c 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,8 @@ FastAPI Admin .. image:: https://img.shields.io/pypi/v/fastapi-admin.svg?style=flat :target: https://pypi.python.org/pypi/fastapi-admin +.. image:: https://travis-ci.com/long2ice/fastapi-admin.svg?branch=master + :target: https://travis-ci.com/long2ice/fastapi-admin .. image:: https://img.shields.io/github/license/long2ice/fastapi-admin :target: https://github.com/long2ice/fastapi-admin