Merge pull request #536 from poratuk/travis-build

Travis should build the project
This commit is contained in:
Arnold Daniels
2018-04-28 12:44:02 +02:00
committed by GitHub
2 changed files with 54 additions and 6 deletions

46
.npmignore Normal file
View File

@@ -0,0 +1,46 @@
# Ignore docs files
_gh_pages
_site
.ruby-version
#ignore dist zip and gz files
/dist/jasny-bootstrap-*.zip
/dist/jasny-bootstrap-*.tar.gz
# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.zip
*.vi
*~
# OS or Editor folders
.DS_Store
._*
Thumbs.db
.cache
.project
.settings
.tmproj
*.esproj
nbproject
*.sublime-project
*.sublime-workspace
.idea
# Komodo
*.komodoproject
.komodotools
# grunt-html-validation
validation-status.json
validation-report.json
# Folders to ignore
bower_components
node_modules

View File

@@ -15,12 +15,14 @@ env:
matrix:
fast_finish: true
after_success:
- npm config set git-tag-version=false
- npm --no-git-tag-version version ${TRAVIS_TAG}
- grunt dist
- cd dist;
- zip -r jasny-bootstrap-${TRAVIS_TAG}.zip *
- tar -zcvf jasny-bootstrap-${TRAVIS_TAG}.tar.gz *
- ls
- cd ..
- git reset --hard
- npm --no-git-tag-version version ${TRAVIS_TAG}
deploy:
- provider: releases
api_key:
@@ -34,11 +36,11 @@ deploy:
repo: jasny/bootstrap
tags: true
- provider: npm
email: poratuk@gmail.com
email: arnold@jasny.net
api_key:
secure: tWiECN/fFRu6yb13l6jB96QfSDrNap6DcRJ6yx8y5oMypEQ6yljsDXhTWshSal2oj+QWNIvQ0skhY1tHv/EmRdkEUFZk1+b3ZjgQZJf4GgEvZwB3q+9DaWYD0pdYTwrlDqXkR6Q8302lYKeAtSkj4IzFPaJx27T064OYO5CUFaYYlcdWT67NUkJxSXpYgp9KDSE/VI26jmEnPmoJwTd85zH3tP/vXv6ZhsWKHJl4iPBJf93Kr/N18Kx2obvTSUE8hu/JrTAAuJfAUQlLPxp/Fh9/zzqh9FdzB2I8oz6gRP/5tWUY28zvWEt+Nls2rdIy8CnYS+MJqDPo9x/IpPSlCglEafh+XizKBmTA8MmGVga5xKgZQwaz1nMI/gaIz0W9fih9INc/2PVQtIYj/K8f2EO/38aLUCaHNhGqanQuy2760BSfpvfdWKrp1YiRR/c33LzrTLCiSOlXZDmmBVWvE6+o0fwA4rEnybm9kB0t+jjEn2l3ikyBIGevWDrjYgM7B3583OO9eBt86vhw0ZD8xL/iTdDKl6rWt/CtNwdbgnOCv1q/wa/micGKl7iQYm5o9VMSFkKqmceSDm3mCWeetnB2PXDMfbW4TdQNk2V/81sRv/XLUg3gubVeZF6B0x6KKUseHQ9BOhCRpHZXO9UuB3p6jPSIE89xC54/bj8bzr8=
secure: putYoursNPMApiKeyHere
skip_cleanup: true
on:
tags: true
repo: jasny/bootstrap
branch: master
repo: jasny/bootstrap
tags: true