Skip to content

Commit 41059ee

Browse files
Moved Travis CI schema tarball creation to before_deply and removed cd commands to avoid working directory issues.
1 parent 96ba141 commit 41059ee

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ python:
33
- 3.5.1
44
script:
55
- python examples/validate.py
6-
- python find-latest-schemas.py schemas/ schemas-latest/
7-
- cd $TRAVIS_BUILD_DIR/schemas && tar -zcvf ../event-types-all.tar.gz *
8-
- cd $TRAVIS_BUILD_DIR/schemas-latest && tar -zcvf ../event-types-latest.tar.gz *
96
before_deploy:
10-
- ls -al
11-
- cd ..
12-
- ls -al
7+
- python find-latest-schemas.py schemas/ schemas-latest/
8+
- cd tar -zcvf event-types-all.tar.gz schemas/*
9+
- cd tar -zcvf event-types-latest.tar.gz schemas-latest/*
1310
deploy:
1411
provider: releases
1512
api-key:

0 commit comments

Comments
 (0)