Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

[WIP] experimenting with encrypted travis tokens #84

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ sudo: false
language: ruby
rvm:
- 2.2.2
before_install:
- echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc
script:
- bundle exec rspec spec
- bundle exec cucumber features --tags ~@require_net_connect
- bundle exec cucumber features
notifications:
email: false
slack:
secure: r6DkoeoERjYHAxNyEHirIDa+lMuHEylWqaQURnrwSab5lPuM54InurtFhmsCRaEDce2DWg+MgbSDh9pmjKTh3StMn7RFafrOvWK9wkU4ndwvd/AgjRRtbAxoHwoHd0Uz57+vSqq3BOqPhYISqu+m2KIX697/KV7uiY3lDVpG7ws=
env:
global:
- secure: D3Zn9Lu8zFFe8cR/ADWJeFaoMv5uFUO2oEacJ8992+MfEoipPiMO6zHkOgnaBD1Elr6w1Qf+Fv87wXD3KICYcrHU8qosdBsYL6Hr8BwjXBuKlu7e4bYceMyJAzCN0V/8UFlcczBbmeaOVCGyqbnMHZr+xdmL8d7jKIvInhsVmS8=
2 changes: 1 addition & 1 deletion features/support/zipped_submission.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"content": "{\"xqueue_files\": \"{\\\"hw1.zip\\\": \\\"http://www.fakedownload.com/hw1.zip\\\"}\", \"xqueue_header\": \"{\\\"submission_id\\\": 729546, \\\"submission_key\\\": \\\"c682677d07bdea26755a5e966edd2982\\\"}\", \"xqueue_body\": \"{\\\"student_info\\\": \\\"{\\\\\\\"anonymous_student_id\\\\\\\": \\\\\\\"506af89a6181960fc69f47f1fbc8d708\\\\\\\", \\\\\\\"submission_time\\\\\\\": \\\\\\\"20000619185228\\\\\\\"}\\\", \\\"grader_payload\\\": \\\"{\\\\n \\\\\\\"assignment_name\\\\\\\": \\\\\\\"zipped-submission-test\\\\\\\",\\\\n \\\\\\\"assignment_spec_uri\\\\\\\": \\\\\\\"git@github.com:saasbook/hw-ruby-intro-ci.git\\\\\\\",\\\\n \\\\\\\"autograder_type\\\\\\\": \\\\\\\"RspecGrader\\\\\\\",\\\\n \\\\\\\"due_dates\\\\\\\": {\\\\\\\"2100-01-02\\\\\\\": 1.0, \\\\\\\"2100-01-03\\\\\\\": 0.75, \\\\\\\"2100-01-04\\\\\\\": 0.50, \\\\\\\"2100-01-05\\\\\\\": 0.25}\\\\n }\\\", \\\"student_response\\\": \\\"\\\"}\"}", "return_code": 0}
{"content": "{\"xqueue_files\": \"{\\\"hw1.zip\\\": \\\"http://www.fakedownload.com/hw1.zip\\\"}\", \"xqueue_header\": \"{\\\"submission_id\\\": 729546, \\\"submission_key\\\": \\\"c682677d07bdea26755a5e966edd2982\\\"}\", \"xqueue_body\": \"{\\\"student_info\\\": \\\"{\\\\\\\"anonymous_student_id\\\\\\\": \\\\\\\"506af89a6181960fc69f47f1fbc8d708\\\\\\\", \\\\\\\"submission_time\\\\\\\": \\\\\\\"20000619185228\\\\\\\"}\\\", \\\"grader_payload\\\": \\\"{\\\\n \\\\\\\"assignment_name\\\\\\\": \\\\\\\"zipped-submission-test\\\\\\\",\\\\n \\\\\\\"assignment_spec_uri\\\\\\\": \\\\\\\"https://github.com/saasbook/hw-ruby-intro-ci\\\\\\\",\\\\n \\\\\\\"autograder_type\\\\\\\": \\\\\\\"RspecGrader\\\\\\\",\\\\n \\\\\\\"due_dates\\\\\\\": {\\\\\\\"2100-01-02\\\\\\\": 1.0, \\\\\\\"2100-01-03\\\\\\\": 0.75, \\\\\\\"2100-01-04\\\\\\\": 0.50, \\\\\\\"2100-01-05\\\\\\\": 0.25}\\\\n }\\\", \\\"student_response\\\": \\\"\\\"}\"}", "return_code": 0}