Skip to content

Commit

Permalink
Add automated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwiedemann committed Oct 11, 2018
1 parent d52db87 commit 6677b4d
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 8,730 deletions.
4 changes: 2 additions & 2 deletions .docksal/commands/init
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ site_install ()
cd $PROJECT_ROOT
fin up
copy_settings_file "${PROJECT_ROOT}/runner.yml.dist" "${PROJECT_ROOT}/runner.yml"
fin exec run drupal:site-setup
fin exec run drupal:site-install
fin exec /var/www/vendor/bin/run drupal:site-setup
fin exec /var/www/vendor/bin/run drupal:site-install
}

#-------------------------- END: Functions --------------------------------
Expand Down
2 changes: 1 addition & 1 deletion .docksal/docksal.env
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ MYSQL_PORT_MAPPING='0:3306'
# To override locally, copy the two lines below into .docksal/docksal-local.env and adjust as necessary
XDEBUG_ENABLED=1

CLI_IMAGE=docksal/cli:2.3-php7.2
CLI_IMAGE=docksal/cli:2.4-php7.1
4 changes: 2 additions & 2 deletions .docksal/docksal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ services:
depends_on:
- cli
# DB
db1:
db:
extends:
file: ${HOME}/.docksal/stacks/services.yml
service: db

# CLI
cli:
ports:
- "2223:22"
- "2228:22"
extends:
file: ${HOME}/.docksal/stacks/services.yml
service: cli
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ before_script:
- fin init

script:
- fin exec "./vendor/bin/grumphp run"
- fin exec "php ./vendor/bin/phpunit"
- fin exec "/var/www/vendor/bin/grumphp run"
- fin exec "php /var/www/vendor/bin/phpunit"

notifications:
email: false
Loading

0 comments on commit 6677b4d

Please sign in to comment.