-
Notifications
You must be signed in to change notification settings - Fork 17
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
gitlab CI support #10
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9da1d02
Added condition for gitlab CI
swapnilmishra 087d7c7
Adding gitlab CI file
swapnilmishra 1fda1e2
Adding test for gitlab CI
swapnilmishra 9f8b326
Updating README for gitlab CI
swapnilmishra 1e967f2
correcting test for gitlab CI
swapnilmishra 2366af2
Adding platform variable to differentiate between github, gitlab, bit…
swapnilmishra 8b4d156
Merge remote-tracking branch 'upstream/master'
swapnilmishra 95a238a
Remove unwanted export
swapnilmishra 645e1d7
Added other CI values for gitlab
d9f1abd
Added other CI values for gitlab
swapnilmishra 2f4b2a3
Separate test cases into different `test` fns.
swapnilmishra 4772134
Merge branch 'master' of github.com:swapnilmishra/ci-env
swapnilmishra 14e8fd8
Remove prettier formatting from the places where the code is not
swapnilmishra ce442b1
Merge gitlab tests with the other CI tests.
swapnilmishra 8acb631
Remove explicit platform check.
swapnilmishra c232d51
Fix failing tests for branch and pull_request_number for gitlab.
swapnilmishra 68762c8
Handle the case when the CI is run for the branch without a pull request
swapnilmishra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
stages: | ||
- test | ||
|
||
test: | ||
stage: test | ||
image: node:8 | ||
script: | ||
- npm i --silent | ||
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a risky default