Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
bf8942a
Setting up after_success for travisci
jonrohan Jul 7, 2017
2e44d06
removing quotes
jonrohan Jul 7, 2017
a572720
testing with deploy script
jonrohan Jul 7, 2017
9ce110d
Change provider to script
jonrohan Jul 7, 2017
50e6f4c
trying with an extra env
jonrohan Jul 7, 2017
fa38af4
on all branches
jonrohan Jul 7, 2017
a20f259
Change to the build directory
jonrohan Jul 7, 2017
29e2566
Constructing version name
jonrohan Jul 7, 2017
bdc537f
removing npm script for now
jonrohan Jul 7, 2017
a41446a
Using short commit
jonrohan Jul 7, 2017
8f443ab
Using matrix
jonrohan Jul 7, 2017
c1b119a
Abstracting out module name
jonrohan Jul 7, 2017
570b667
Creating a deploy matrix
jonrohan Jul 7, 2017
5bb4059
Don't deploy on dev or master
jonrohan Jul 7, 2017
7613846
let's do this
jonrohan Jul 7, 2017
95aac5b
removing global commit variable and installing dev dependencies
jonrohan Jul 7, 2017
b8d7aeb
Running script
jonrohan Jul 7, 2017
b482fd8
Sort these so we don't overlook any
jonrohan Jul 7, 2017
610e213
creating a dummy script to avoid failed deploy
jonrohan Jul 7, 2017
79cf276
Changing permissions on script
jonrohan Jul 7, 2017
af83807
update publish scripts
Jul 7, 2017
2b16f69
add top-level test script
Jul 7, 2017
e5a115e
just echo for now
Jul 7, 2017
2f20282
add basic branch logic
Jul 7, 2017
14c5ecb
rename 'publish' => 'release'; don't run recursively
Jul 7, 2017
908ab0e
stub out CI deployment logic
Jul 7, 2017
f71f97d
Merge branch 'dev' into after_success
shawnbot Jul 7, 2017
172f6c2
remove top-level test script for now
Jul 7, 2017
88a0b4e
rename to deploy
jonrohan Jul 7, 2017
a4d6392
rename to deploy
jonrohan Jul 7, 2017
999c6d4
skipping deploy
jonrohan Jul 7, 2017
65925c3
add back npm test script
Jul 7, 2017
89ba9a0
try testing from top level
Jul 7, 2017
4abd9bd
try bash
jonrohan Jul 8, 2017
cf82ee4
Use travis event type
jonrohan Jul 8, 2017
4bb84f8
rename deploy => cibuild
shawnbot Jul 10, 2017
03d2e1f
run all ci release commands with --yes
shawnbot Jul 10, 2017
e18e8f7
remove --skip-git lerna arg
shawnbot Jul 10, 2017
0a07d2f
upgrade to lerna@2.0.0
shawnbot Jul 10, 2017
e99ae79
authenticate npm w/NPM_TOKEN env
shawnbot Jul 11, 2017
c3abddc
call script/cibuild with --yes
shawnbot Jul 11, 2017
f40a30c
get ci_args from argv[1:]
shawnbot Jul 11, 2017
0d3f6b7
rename ci_args to args
shawnbot Jul 11, 2017
9cce630
use NPM_API_KEY instead of NPM_TOKEN
shawnbot Jul 11, 2017
d96aa3b
set --npm-tag=canary for release-canary script
shawnbot Jul 12, 2017
92656aa
add a comment to explain why we're passing args
shawnbot Jul 12, 2017
53ec496
add compare-published script
shawnbot Jul 12, 2017
c1ad972
tidy up compare-published script
shawnbot Jul 12, 2017
9991349
add caveat in compare-published
shawnbot Jul 12, 2017
d7ddfef
reorder lerna publish args
shawnbot Jul 12, 2017
b57d529
echo the rc and release commands, just to be safe
shawnbot Jul 12, 2017
871d806
disable primer/selector-no-utility
shawnbot Jul 12, 2017
7659b63
confirm travis auth
shawnbot Jul 12, 2017
ae023e0
try npm config set
shawnbot Jul 12, 2017
a9559e8
run stuff again
shawnbot Jul 12, 2017
0ce097e
nix `npm whoami` call
shawnbot Jul 13, 2017
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
Prev Previous commit
Next Next commit
Using matrix
  • Loading branch information
jonrohan committed Jul 7, 2017
commit 8f443ab786b66d05708a090ce681ee1aaa498ff2
55 changes: 28 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,34 @@ node_js:
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, does this modify the build matrix? If so, maybe we just do this when we generate the prerelease id.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it changed the matrix, https://travis-ci.org/primer/primer-css/builds/251305487

Looks like it just included a $COMMIT variable in all the builds

- TEST_DIR=modules/primer-css
- TEST_DIR=modules/primer-core
- TEST_DIR=modules/primer-product
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-alerts
- TEST_DIR=modules/primer-base
- TEST_DIR=modules/primer-blankslate
- TEST_DIR=modules/primer-box
- TEST_DIR=modules/primer-breadcrumb
- TEST_DIR=modules/primer-buttons
- TEST_DIR=modules/primer-cards
- TEST_DIR=modules/primer-forms
- TEST_DIR=modules/primer-labels
- TEST_DIR=modules/primer-layout
- TEST_DIR=modules/primer-markdown
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-marketing-type
- TEST_DIR=modules/primer-marketing-utilities
- TEST_DIR=modules/primer-navigation
- TEST_DIR=modules/primer-page-headers
- TEST_DIR=modules/primer-page-sections
- TEST_DIR=modules/primer-support
- TEST_DIR=modules/primer-table-object
- TEST_DIR=modules/primer-tables
- TEST_DIR=modules/primer-tooltips
- TEST_DIR=modules/primer-truncate
- TEST_DIR=modules/primer-utilities
matrix:
- TEST_DIR=modules/primer-css
- TEST_DIR=modules/primer-core
- TEST_DIR=modules/primer-product
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-alerts
- TEST_DIR=modules/primer-base
- TEST_DIR=modules/primer-blankslate
- TEST_DIR=modules/primer-box
- TEST_DIR=modules/primer-breadcrumb
- TEST_DIR=modules/primer-buttons
- TEST_DIR=modules/primer-cards
- TEST_DIR=modules/primer-forms
- TEST_DIR=modules/primer-labels
- TEST_DIR=modules/primer-layout
- TEST_DIR=modules/primer-markdown
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-marketing-type
- TEST_DIR=modules/primer-marketing-utilities
- TEST_DIR=modules/primer-navigation
- TEST_DIR=modules/primer-page-headers
- TEST_DIR=modules/primer-page-sections
- TEST_DIR=modules/primer-support
- TEST_DIR=modules/primer-table-object
- TEST_DIR=modules/primer-tables
- TEST_DIR=modules/primer-tooltips
- TEST_DIR=modules/primer-truncate
- TEST_DIR=modules/primer-utilities
script: cd $TEST_DIR && npm install && npm test
deploy:
provider: script
Expand Down