Skip to content

Commit

Permalink
patching busted
Browse files Browse the repository at this point in the history
Former-commit-id: 477b0cd6c98f71a5a08fd19e86d81b05fbe615d1
  • Loading branch information
subnetmarco committed Jun 18, 2015
1 parent 2cca1c7 commit b3207e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ before_install:
install:
- sudo make install
- sudo make dev
- sudo sed -i.bak s@/usr/local/bin/luajit@/usr/bin/lua@g /usr/local/bin/busted
- bash .travis/patch_busted.sh

script:
- "busted -o spec/busted-print.lua --coverage spec/"
Expand Down
9 changes: 9 additions & 0 deletions .travis/patch_busted.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Remove this file once a new Busted version has been released > rc9-0

cd /usr/local/share/lua/5.1/
wget https://github.com/o-lim/busted/commit/619891c008836914de48abe97c5229adc14f37f0.patch
sudo patch -p1 < 619891c008836914de48abe97c5229adc14f37f0.patch

cd $TRAVIS_BUILD_DIR

0 comments on commit b3207e6

Please sign in to comment.