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
eb5bf2da
Commit
eb5bf2da
authored
Sep 14, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added cubrid dbms to travis-ci
copied from
https://github.com/CUBRID/node-cubrid/blob/056e734ce36bb3fd25f100c983beb3947e899c1c/.travis.yml
parent
d3740932
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
.travis.yml
.travis.yml
+21
-0
cubrid-solo.rb
tests/unit/data/cubrid-solo.rb
+6
-0
No files found.
.travis.yml
View file @
eb5bf2da
...
...
@@ -5,11 +5,32 @@ php:
-
5.4
-
5.5
env
:
-
CUBRID_VERSION=9.1.0
before_script
:
-
composer self-update && composer --version
-
composer require satooshi/php-coveralls 0.6.*
-
mysql -e 'CREATE DATABASE yiitest;';
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
#
# install CUBRID DBMS https://github.com/CUBRID/node-cubrid/blob/056e734ce36bb3fd25f100c983beb3947e899c1c/.travis.yml
-
sudo hostname localhost
# Update OS before installing prerequisites.
-
sudo apt-get update
# Install Chef Solo prerequisites.
-
sudo apt-get install ruby ruby-dev libopenssl-ruby rdoc ri irb build-essential ssl-cert
# Install Chef Solo.
# Chef Solo 11.4.4 is broken, so install a previous version.
# The bug is planned to be fixed in 11.4.5 which haven't been released yet.
-
sudo gem install --version '<11.4.4' chef --no-rdoc --no-ri
# Make sure the target directory for cookbooks exists.
-
mkdir -p /tmp/chef-solo
# Prepare a file with runlist for Chef Solo.
-
echo '{"cubrid":{"version":"'$CUBRID_VERSION'"},"run_list":["cubrid::demodb"]}' > cubrid_chef.json
# Install CUBRID via Chef Solo. Download all cookbooks from a remote URL.
-
sudo chef-solo -c tests/unit/data/cubrid-solo.rb -j cubrid_chef.json -r http://sourceforge.net/projects/cubrid/files/CUBRID-Demo-Virtual-Machines/Vagrant/chef-cookbooks.tar.gz/download
script
:
-
phpunit --coverage-clover tests/unit/runtime/coveralls/clover.xml
...
...
tests/unit/data/cubrid-solo.rb
0 → 100644
View file @
eb5bf2da
file_cache_path
"/tmp/chef-solo"
data_bag_path
"/tmp/chef-solo/data_bags"
encrypted_data_bag_secret
"/tmp/chef-solo/data_bag_key"
cookbook_path
[
"/tmp/chef-solo/cookbooks"
]
role_path
"/tmp/chef-solo/roles"
\ No newline at end of file
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