Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

codingEzio/learn_ci_travisci_node_simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why

Issues

Actual notes

  • Do notice that
    • travis-ci.com and travis-ci.org are not the same thing (private | public)
    • so, for some specific stuff you might need to do in a bit different way, e.g. travis encrypt when adding env vars
  • Three ways to add Environment Variables (dangerous -> kinda safe -> safe)
    1. whatever: directly add those to .travis.yml
    2. travis web interface: something like https://travis-ci.com/USER/REPO_NAME/settings
    3. encrypt the keys by yourself (I havn't try this in my local machine)
    # 1. you need to get 'ruby' installed in your machine
    # 2. install a library for encrypting the keys
    gem install travis
    # 3.1 encrypt it -> then add to 'secure: GENERATED_STUFF'
    travis encrypt SOMEVAR="secretvalue" --add env.global
    # 3.2 encrypt it -> then add to 'secure: GENERATED_STUFF'
    travis login --pro
    travis encrypt SOMEVAR="secretvalue" --add

More

Links related to CircleCI

Releases

No releases published

Packages

No packages published