Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
50c0449d
Commit
50c0449d
authored
Oct 11, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure tests are failing when build scripts fail
parent
23918f3e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
apc-setup.sh
tests/unit/data/travis/apc-setup.sh
+1
-1
cubrid-setup.sh
tests/unit/data/travis/cubrid-setup.sh
+2
-2
init-apps.sh
tests/unit/data/travis/init-apps.sh
+1
-1
memcache-setup.sh
tests/unit/data/travis/memcache-setup.sh
+1
-1
mongodb-setup.sh
tests/unit/data/travis/mongodb-setup.sh
+1
-1
setup-apps.sh
tests/unit/data/travis/setup-apps.sh
+1
-1
sphinx-setup.sh
tests/unit/data/travis/sphinx-setup.sh
+1
-1
No files found.
tests/unit/data/travis/apc-setup.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
if
[
"
$(
expr
"
$TRAVIS_PHP_VERSION
"
"<"
"5.5"
)
"
-eq
1
]
;
then
if
[
"
$(
expr
"
$TRAVIS_PHP_VERSION
"
"<"
"5.5"
)
"
-eq
1
]
;
then
echo
"extension = apc.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
echo
"extension = apc.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
...
...
tests/unit/data/travis/cubrid-setup.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
#
#
# install CUBRID DBMS
# install CUBRID DBMS
...
@@ -71,7 +71,7 @@ install_pdo_cubrid() {
...
@@ -71,7 +71,7 @@ install_pdo_cubrid() {
return
$?
return
$?
}
}
install_pdo_cubrid
>
~/pdo_cubrid.log
||
(
echo
"=== PDO CUBRID BUILD FAILED ==="
;
cat
~/pdo_cubrid.log
)
install_pdo_cubrid
>
~/pdo_cubrid.log
||
(
echo
"=== PDO CUBRID BUILD FAILED ==="
;
cat
~/pdo_cubrid.log
)
&&
exit
1
echo
""
echo
""
echo
"Installed CUBRID PDO
$CUBRID_PDO_VERSION
"
echo
"Installed CUBRID PDO
$CUBRID_PDO_VERSION
"
...
...
tests/unit/data/travis/init-apps.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
if
(
php
--version
|
grep
-i
HipHop
>
/dev/null
)
;
then
if
(
php
--version
|
grep
-i
HipHop
>
/dev/null
)
;
then
echo
"skipping application init on HHVM"
echo
"skipping application init on HHVM"
...
...
tests/unit/data/travis/memcache-setup.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
if
(
php
--version
|
grep
-i
HipHop
>
/dev/null
)
;
then
if
(
php
--version
|
grep
-i
HipHop
>
/dev/null
)
;
then
echo
"skipping memcache on HHVM"
echo
"skipping memcache on HHVM"
...
...
tests/unit/data/travis/mongodb-setup.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
#
#
# install mongodb
# install mongodb
...
...
tests/unit/data/travis/setup-apps.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
if
(
php
--version
|
grep
-i
HipHop
>
/dev/null
)
;
then
if
(
php
--version
|
grep
-i
HipHop
>
/dev/null
)
;
then
echo
"skipping application setup on HHVM"
echo
"skipping application setup on HHVM"
...
...
tests/unit/data/travis/sphinx-setup.sh
View file @
50c0449d
#!/bin/sh
#!/bin/sh
-e
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPT
=
$(
readlink
-f
"
$0
"
)
CWD
=
$(
dirname
"
$SCRIPT
"
)
CWD
=
$(
dirname
"
$SCRIPT
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment