File tree 6 files changed +9
-459
lines changed
6 files changed +9
-459
lines changed Original file line number Diff line number Diff line change 9
9
src /Michelf /*
10
10
src /.gitignore
11
11
vendor /**
12
+ composer.lock
12
13
13
14
# JIRA plugin
14
15
atlassian-ide-plugin.xml
Original file line number Diff line number Diff line change 3
3
- ' 5.6'
4
4
- ' 7.0'
5
5
before_script :
6
- - composer -n --prefer-source install --dev
7
- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then wget https://phar.phpunit.de/phpunit-5.7.phar; fi
8
- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then mv phpunit-5.7.phar phpunit; fi
9
- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then chmod +x phpunit; fi
6
+ - composer -n install
10
7
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then pecl install runkit; fi
11
8
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then echo "runkit.internal_override=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
12
9
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then pecl install uopz; fi
13
- - wget --content-disposition "https://github.com/theseer/Autoload/releases/download/1.22.0/phpab-1.22.0.phar"
14
- - mv phpab-1.22.0.phar phpab
15
- - chmod +x phpab
16
10
- export PATH=$PATH:$PWD
17
- script : phpunit --configuration tests/phpunit.xml
11
+ script : vendor/bin/ phpunit --configuration tests/phpunit.xml
18
12
before_deploy :
19
13
- ant phar-nightly
20
14
deploy :
Original file line number Diff line number Diff line change 80
80
<arg value =" ${ type } " />
81
81
</exec >
82
82
83
- <exec executable =" phpab" taskname =" phpab" >
83
+ <exec executable =" ${ basedir } vendor/bin/ phpab" taskname =" phpab" >
84
84
<arg value =" --all" />
85
85
<arg value =" --static" />
86
86
<arg value =" --once" />
94
94
<arg path =" ${ basedir } /build/phar" />
95
95
</exec >
96
96
97
- <exec executable =" phpab" taskname =" phpab" >
97
+ <exec executable =" ${ basedir } vendor/bin/ phpab" taskname =" phpab" >
98
98
<arg value =" --all" />
99
99
<arg value =" --nolower" />
100
100
<arg value =" --static" />
Original file line number Diff line number Diff line change 22
22
"michelf/php-markdown" : " 1.*"
23
23
},
24
24
"require-dev" : {
25
- "theseer/autoload" : " ^1.22"
25
+ "theseer/autoload" : " ^1.22" ,
26
+ "phpunit/phpunit" : " 5.7.*"
26
27
},
27
28
"autoload" : {
28
29
"psr-4" : { "PHPDraft\\ " : " src/PHPDraft" }
You can’t perform that action at this time.
0 commit comments