Skip to content

Commit

Permalink
Merge pull request #263 from openearth/travis-buils
Browse files Browse the repository at this point in the history
build new frontend on travis
  • Loading branch information
CindyvdVries committed Apr 16, 2020
2 parents 928642d + e88c30a commit 4219118
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
24 changes: 20 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
language: node_js

node_js:
- node
- 12

# including lint:babel is buggy (use strict errors)
# lint:scss is not part of the test suite
script: npm run test:unit
before_script:
- npm install

script: npm run test:unit && npm run lint && npm run build

before_deploy:
- zip -r delft3d-gt-ui.zip dist/*
deploy:
provider: releases
api_key:
secure: MWHXB3wxvM1q+nTbZvP85/oxO2C6ueXnYK7sNUtaXuFm9WOIbNUA9u2wENszTxgT4dL7FIiA9Xk8EjIiYpZyYHg8Ozrwg8MyYuSrtrqQy10DZaouSOnnODRUyBNO1hxmfpYxhmFSOuomBJrNM87As7cOh35TDq/c06+sWxh7j6ptCso4TKIcDjjd708wjknItHkCp+ntHajUvG1uGUEWWqrsrA8kmQpQ/dWIpW27P26QmfuI8/oKLW/OGQRI2l00uxv8phkXO3Am6G3QXTyfO14z1yqOF/08Fa8Fe97OMv8pJZEYRpOozkIesVRnUckftthMQOaEuFWczT9x3mF/tzDNhKGeAzPgl9Sm5ThdUNG2MdRVv3paOJyq+0Kzb/RcrqT+ZaQLPjH9Oi3IdSGtqdwg/g+4fny3jjK43puOQ/Avsf0C2fPOBuNJWjKz9NvucTTjNlduo4zlVenqL1O0+9JvGbpM5kmBZ9MYy1vxaoXikONuvzfsqx/iZi8U3m9PvCfqcWqiFMPEXUbZ8m+kBceuDC7cwxpWrQQ7vRq9hpGz8a0YcDZ4V86Q/JZqfrfYhNmQUJSJum327He87a7k3KlqEr5n6/sXoWs7UzVRsxRQ/VBWnWACBywHR62sQIl6dhtPLsy23sZB42lQr986FIus1MV9HE3VLfTFiHdxaeo=
file: dist.zip
file: delft3d-gt-ui.zip
skip_cleanup: true
overwrite: true
on:
tags: true
repo: openearth/delft3d-gt-ui
branch: develop
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ $ npm run serve -- --apiServer=http://10.0.1.2
$ npm run build
```

### Run your tests
```
$ npm run test
```

### Lints and fixes files
```
$ npm run lint
Expand Down

0 comments on commit 4219118

Please sign in to comment.