Skip to content

Commit

Permalink
fix(travis): fix travis env
Browse files Browse the repository at this point in the history
  • Loading branch information
slodki committed Apr 28, 2019
1 parent 1f96561 commit 9769114
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: python
python: "3.6"
install: true
script:
- python check_gm.py
- python pack_gm.py
- ./check_gm.py
- ./pack_gm.py
3 changes: 1 addition & 2 deletions pack_gm.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
import zipfile

def pack_report(report):
print 'packing %s' % report
print ('packing', report)
f = zipfile.ZipFile(report + '.zip', 'w')
for item in os.listdir(report):
f.write(os.path.join(report, item))
f.close()
print 'done %s' % report

if __name__ == '__main__':
for report in os.listdir('.'):
Expand Down

0 comments on commit 9769114

Please sign in to comment.