Skip to content

Commit

Permalink
Circle CI Attempt craftcms#3
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Dec 3, 2016
1 parent adde7f9 commit 83d46a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Build/*
node_modules/
vendor/
/composer.lock
/codeception.yml
9 changes: 6 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ checkout:
post:
- composer install --dev
- composer dumpautoload -a
- mv codeception.yml.example codeception.yml


## Customize dependencies
# dependencies:
# pre:
dependencies:
pre:
- mysql -u root -e 'CREATE DATABASE craft3test;';
# - npm install coffeescript # install from a different package manager
# - gem uninstall bundler # use a custom version of bundler
# - gem install bundler --pre
Expand All @@ -52,7 +55,7 @@ checkout:
## Customize test commands
test:
override:
- php codeception.php run
- ./vendor/bin/codecept run
# post:
# - bundle exec rake jasmine:ci: # add an extra test type
# environment:
Expand Down
2 changes: 1 addition & 1 deletion codeception.yml → codeception.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ modules:
- Db:
dsn: 'mysql:host=localhost;dbname=craft3test'
user: 'root'
password: 'password'
password: ''
dump: 'tests/_data/dump.sql'
populate: true
cleanup: true
Expand Down

0 comments on commit 83d46a6

Please sign in to comment.