Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Add Travis #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js
node_js:
- 'lts/*'

env:
global:
- NODE_ENV=test

script: npm run build

branches:
only:
- master
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es2017",
"outDir": "build/main",
"outDir": "build",
"rootDir": "src",
"moduleResolution": "node",
"module": "commonjs",
Expand Down