-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unified circleci test pipeline (#291)
* Implemented unified pipeline template
- Loading branch information
Showing
4 changed files
with
154 additions
and
167 deletions.
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
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,3 @@ | ||
sudo apt-get update && sudo apt-get install libvips42 | ||
bundle config --local path vendor/bundle | ||
bundle check || bundle install |
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,4 @@ | ||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B | ||
sudo apt-get update && sudo apt-get install libvips | ||
bundle config --local path vendor/bundle | ||
bundle check || bundle install |
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,10 @@ | ||
sudo apt-get update && sudo apt-get install libvips42 | ||
bundle config --local path vendor/bundle | ||
bundle check || bundle install | ||
bundle exec rake test_app | ||
cd spec/dummy && yarn unlink @spree/dashboard && cd ../.. | ||
TESTFILES=$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings) | ||
bundle exec rspec --format documentation \ | ||
--format RspecJunitFormatter \ | ||
-o ~/rspec/rspec.xml \ | ||
-- ${TESTFILES} |