Last active
September 21, 2020 21:43
-
-
Save tghastings/ea371469f4f993014522445ecc6c08c9 to your computer and use it in GitHub Desktop.
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
language: ruby | |
cache: bundler | |
bundler_args: --without production | |
rvm: | |
- 2.5.7 | |
before_install: | |
- gem install bundler:2.0.2 | |
script: | |
- touch results.txt | |
- touch grade.txt | |
- echo -----POINTS MISSED----- >> grade.txt | |
- cd hw-ruby-intro | |
- rm -rf spec | |
- git clone https://github.com/UCCSCS3300/hw-ruby-intro-specs.git spec | |
- bundle install | |
- bundle exec rspec spec/part1_spec.rb >> ../results.txt | |
- bundle exec rspec spec/part2_spec.rb >> ../results.txt | |
- bundle exec rspec spec/part3_spec.rb >> ../results.txt | |
- cd ../hw-ruby-more | |
- rm -rf spec | |
- git clone https://github.com/UCCSCS3300/hw-ruby-more-specs.git spec | |
- bundle install | |
- bundle exec rspec spec/attr_accessor_with_history_spec.rb >> ../results.txt | |
- bundle exec rspec spec/dessert_spec.rb >> ../results.txt | |
- bundle exec rspec spec/fun_with_strings_spec.rb >> ../results.txt | |
- bundle exec rspec spec/rock_paper_scissors_spec.rb >> ../results.txt | |
- grep -r points ../results.txt | grep -v rspec >> ../grade.txt | |
- cat ../grade.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment