This commit is contained in:
Agnes Gaschitz 2021-03-27 10:11:56 +01:00
commit c10c79fd9e
5 changed files with 37 additions and 6 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
language: node_js
env:
- python
node_js:
- "15"
install:
- npm install
script:
- npm run test

View File

@ -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.
[![Build status](https://ci.appveyor.com/api/projects/status/exypq43a8kjby5n0?svg=true)](https://ci.appveyor.com/project/kovacsv/online3dviewer)
[![Build Status](https://travis-ci.com/kovacsv/Online3DViewer.svg?branch=master)](https://travis-ci.com/kovacsv/Online3DViewer)
## Supported file formats
### Import

View File

@ -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

View File

@ -140,6 +140,7 @@
<div>Example models:</div>
<div class="example_models">
<a href="index.html#model=assets/models/logo.obj,assets/models/logo.mtl">logo</a>
<span style="color:#aaaaaa;"> | </span>
<a href="index.html#model=assets/models/solids.obj,assets/models/solids.mtl">solids</a>
</div>
</div>

View File

@ -666,7 +666,7 @@ div.ov_progress
}
@media only screen and (max-height: 600px)
@media only screen and (max-height: 700px)
{
.only_full_height