Skip to content
Permalink
Browse files

Switch to Python3

  • Loading branch information...
Alberth289346 committed Jul 31, 2018
1 parent 12d7745 commit c5bf80fbfb9aafe3d2daa20971eb602a39e1e3a1
@@ -43,9 +43,9 @@ script:
# Check if there are trailing whitespaces.
- ${TRAVIS_BUILD_DIR}/scripts/check_trailing_whitespaces.py $TRAVIS_BUILD_DIR
# Check for incorrectly encoded language files.
- python ${TRAVIS_BUILD_DIR}/scripts/check_language_files_not_BOM.py $TRAVIS_BUILD_DIR/CorsixTH/Lua/languages
- ${TRAVIS_BUILD_DIR}/scripts/check_language_files_not_BOM.py $TRAVIS_BUILD_DIR/CorsixTH/Lua/languages
# Check if there are lua classes with invalid/improper declarations.
- python ${TRAVIS_BUILD_DIR}/scripts/check_lua_classes.py
- ${TRAVIS_BUILD_DIR}/scripts/check_lua_classes.py
# Build CorsixTH
- make VERBOSE=1
# Validate lua files
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

"""
Usage: check_language_files_not_BOM.py [root]
2 scripts/check_lua_classes.py 100644 → 100755
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import os
import re
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

"""
Usage: check_trailing_whitespaces.py [root]

0 comments on commit c5bf80f

Please sign in to comment.
You can’t perform that action at this time.