diff --git a/.travis.yml b/.travis.yml index af2149fc..deaa148d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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= diff --git a/features/support/zipped_submission.json b/features/support/zipped_submission.json index ce243839..7004ce59 100644 --- a/features/support/zipped_submission.json +++ b/features/support/zipped_submission.json @@ -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} \ No newline at end of file +{"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} \ No newline at end of file