Skip to content
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

Broke build #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ env:
- TEST_CMD="ruby mini_tester.rb" OPT="--framework minitest" FRAMEWORK=MiniTester
- TEST_CMD="ruby test_unit_all.rb --runner=xml > test_unit.xml" FRAMEWORK=TestUnit
script:
- echo $TEST_CMD | bash | tee $FRAMEWORK.log
- set -o pipefail
- echo $TEST_CMD | bash 2> >(tee $FRAMEWORK.log >&2)
- cat $FRAMEWORK.log

after_failure:
- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/annotate.py | python - --tool ruby --input $FRAMEWORK.log --name "$FRAMEWORK Log"
Expand Down
1 change: 1 addition & 0 deletions mini_tester.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Minitest::Reporters.use! Minitest::Reporters::JUnitReporter.new

some syntax error

class MiniTester < Minitest::Test
def test_1
Expand Down
4 changes: 2 additions & 2 deletions test_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def teardown
end

# Fake test
def test_fail
assert_equal(4, 4);
def test_fail-->_--as
assert_equal(4, 4);
assert_equal(4, 4);-->_--as
#fail('Not implemented')
end

Expand Down