Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto build unicode categories #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

auto build unicode categories #21

wants to merge 2 commits into from

Conversation

waleedsamy
Copy link

pre install you shoul remove all secret from .travis.yml and generate yours by next script

node_modules/.bin/travis-encrypt --add -r dodo/node-unicodetable GH_REF=github.com/dodo/node-unicodetable.git
node_modules/.bin/travis-encrypt --add -r dodo/node-unicodetable GH_USER=dodo
# token is generated from https://github.com/settings/tokens
node_modules/.bin/travis-encrypt --add -r dodo/node-unicodetable GH_TOKEN={TOKEN}

how it work

  • travis will build master branch only then publish unicode categories to master back
  • nightli will make previous job happen dialy

changes :

  • no need to postinstall script in package.json
  • remove category folder from .gitignore
  • travis-encrypt not support node js version 0.8 so all solution not goin to work with it and i droped this version from .travis.yml

Note :

  • should configure travis to run only one job to make sure that there is no any race conditions while building and no conflict occur while travis push categories back to master

this pull request will resolve issues #16 #18 #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant