Skip to content

Commit

Permalink
Travis test (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkaneider authored and flokain committed Sep 11, 2018
1 parent f37a10e commit 594543b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: node_js
node_js:
- "10"
cache:
yarn: true
directories:
- "frontend/node_modules"
script: cd frontend && yarn install && yarn build:prod && cd ..

before_deploy:
- cd frontend/dist
- tar -cvf ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar *

deploy:
provider: releases
api_key:
secure: $deploy_key
file:
- ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar
skip_cleanup: true
on:
tags: true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[![Build Status](https://travis-ci.org/oefsv/ulti-players.svg?branch=master)](https://travis-ci.org/oefsv/ulti-players)

0 comments on commit 594543b

Please sign in to comment.