Skip to content

Commit 4220ea0

Browse files
committed
Update .travis.yml
1 parent af179c6 commit 4220ea0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
language: php
2-
php:
3-
- '7.3'
2+
43
install:
54
- composer install
5+
66
script:
77
- php tests/test.php
8-
after_script:
8+
9+
before_deploy:
910
- mkdir dist/
1011
- cp bin dist/ -R
1112
- cp src dist/ -R
1213
- cp vendor dist/ -R
1314
- cp LICENSE dist/
1415
- cp README.md dist/
15-
- zip php-enphp-decoder-$TRAVIS_TAG.zip -r dist
16+
- zip php-enphp-decoder-$TRAVIS_BRANCH.zip -r dist
17+
1618
deploy:
1719
provider: releases
1820
api_key: $GITHUB_TOKEN
19-
file: php-enphp-decoder-$TRAVIS_TAG.zip
21+
file: "php-enphp-decoder-$TRAVIS_TAG.zip"
2022
skip_cleanup: true
2123
on:
2224
tags: true

0 commit comments

Comments
 (0)