Currently, I am working with a Typescript module that has a directory ./src
And I also have travis-ci set up for the project.
language: node_js
node_js:
- 5.1.0
install:
- npm install
- npm install -g mocha
- npm install -g gulp
- npm install -g tsd
- tsd rate
- tsd install
script: gulp
after_success: npm test
deploy:
provider: npm
email: secret
api_key:
secure: secret
The Gulp task generates files in the "./build" directory.
The issue arises when it comes to deployment.
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# build/
#
nothing added to commit but untracked files present (use "git add" to track)
This forces me to locally build the project and then add it to GitHub, rendering the use of travis-ci somewhat unnecessary.