Skip to content

Commit ee282ef

Browse files
committed
Add Travis CI
1 parent 266d44c commit ee282ef

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: php
2+
php:
3+
- '7.3'
4+
install:
5+
- composer install
6+
script:
7+
- php tests/test.php
8+
after_script:
9+
- mkdir dist/
10+
- cp bin dist/ -R
11+
- cp src dist/ -R
12+
- cp vendor dist/ -R
13+
- cp LICENSE dist/
14+
- cp README.md dist/
15+
- zip php-enphp-decoder-$TRAVIS_TAG.zip -r dist
16+
deploy:
17+
provider: releases
18+
api_key: $GITHUB_TOKEN
19+
file: php-enphp-decoder-$TRAVIS_TAG.zip
20+
skip_cleanup: true
21+
on:
22+
tags: true

0 commit comments

Comments
 (0)