diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ceb907c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: node_js + +env: + - python + +node_js: + - "15" + +install: + - npm install + +script: + - npm run test diff --git a/README.md b/README.md index 98e56f9..9d6ad97 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ This repository contains the source code of the https://3dviewer.net website. The website can open several 3D file formats and visualize the model in your browser. +[](https://ci.appveyor.com/project/kovacsv/online3dviewer) +[](https://travis-ci.com/kovacsv/Online3DViewer) + ## Supported file formats ### Import diff --git a/appveyor.yml b/appveyor.yml index 5e36517..d7c9c6d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,15 +1,29 @@ +version: "{build}" + environment: - PYTHON: "3.6" - nodejs_version: "6" + nodejs_version: "15" + python_path: "C:\\Python38-x64" install: + - ps: Install-Product node $env:nodejs_version + - set PATH=%python_path%;%python_path%\\Scripts;%PATH% - npm install +build_script: + - npm run build + test_script: - npm run test -build_script: - - npm run build - artifacts: - path: build\package\* + +deploy: + description: 'News:\n- ...' + provider: GitHub + auth_token: + secure: oN14X2NG9+1O6cVQ7m2pIUkMxJ4mbZC1oht03WtJPS4E03MfPH8wZYAw9vmkSL9H + draft: true + on: + branch: master + APPVEYOR_REPO_TAG: true diff --git a/website/index.html b/website/index.html index 738c6bd..57696b5 100644 --- a/website/index.html +++ b/website/index.html @@ -140,6 +140,7 @@