Re-enable Lua test and IRC notifications

develop
lethosor 2017-06-22 11:37:44 -04:00
parent a718aae994
commit f020ad0546
2 changed files with 9 additions and 8 deletions

@ -33,7 +33,7 @@ script:
- python travis/lint.py - python travis/lint.py
- python travis/authors-rst.py - python travis/authors-rst.py
- python travis/script-docs.py - python travis/script-docs.py
- python travis/script-syntax.py --ext=lua --cmd="luac5.3 -p" || true - python travis/script-syntax.py --ext=lua --cmd="luac5.3 -p"
- python travis/script-syntax.py --ext=rb --cmd="ruby -c" - python travis/script-syntax.py --ext=rb --cmd="ruby -c"
- mkdir build-travis - mkdir build-travis
- cd build-travis - cd build-travis
@ -41,8 +41,8 @@ script:
- make -j3 - make -j3
notifications: notifications:
email: false email: false
# irc: irc:
# channels: channels:
# - "chat.freenode.net#dfhack" - "chat.freenode.net#dfhack"
# on_success: change on_success: change
# on_failure: always on_failure: always

@ -8,8 +8,9 @@ LUA_TAR=$(basename "$LUA_URL")
LUA_DIR="$LUA_ROOT/${LUA_TAR%.tar.*}" LUA_DIR="$LUA_ROOT/${LUA_TAR%.tar.*}"
LUA_SHA1="a0341bc3d1415b814cc738b2ec01ae56045d64ef" LUA_SHA1="a0341bc3d1415b814cc738b2ec01ae56045d64ef"
echo $LUA_TAR echo LUA_ROOT $LUA_ROOT
echo $LUA_DIR echo LUA_TAR $LUA_TAR
echo LUA_DIR $LUA_DIR
sha1() { sha1() {
python -c 'import hashlib, sys; print(hashlib.sha1(open(sys.argv[1],"rb").read()).hexdigest())' "$1" python -c 'import hashlib, sys; print(hashlib.sha1(open(sys.argv[1],"rb").read()).hexdigest())' "$1"