This repository was archived by the owner on Mar 24, 2024. It is now read-only.
File tree 7 files changed +10
-10
lines changed
7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ cache:
20
20
before_install :
21
21
- mysql -e "CREATE DATABASE IF NOT EXISTS testing;"
22
22
- mysql -e "GRANT ALL ON testing.* to 'homestead'@'%' IDENTIFIED BY 'secret';"
23
- - mysql --database testing < ci /sqlgrey.sql
23
+ - mysql --database testing < tests/fixtures /sqlgrey.sql
24
24
- . $HOME/.nvm/nvm.sh
25
25
- nvm install stable
26
26
- nvm use stable
27
27
- npm install -g yarn
28
28
29
29
install :
30
- - cp -nv ci /.env.testing .env
30
+ - cp -nv tests/fixtures /.env.testing .env
31
31
- composer install --no-interaction
32
32
- php artisan key:generate
33
33
- php artisan migrate --force
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ cd $(cd -P -- "$(dirname -- "$0")" && pwd -P)
4
4
5
5
. util.sh
6
6
7
- create_database
8
-
9
7
cd ..
10
8
9
+ create_database
10
+
11
11
copy_configuration
12
12
13
13
configure_application
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ cd $(cd -P -- "$(dirname -- "$0")" && pwd -P)
4
4
5
5
. util.sh
6
6
7
- create_database
8
-
9
7
cd ..
10
8
9
+ create_database
10
+
11
11
copy_configuration
12
12
13
13
configure_application
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ create_database() {
4
4
mysql -uroot -e " DROP DATABASE IF EXISTS testing"
5
5
mysql -uroot -e " CREATE DATABASE testing"
6
6
mysql -uroot -e " GRANT ALL ON testing.* to 'homestead'@'%';"
7
- mysql -uroot --database testing < sqlgrey.sql
7
+ mysql -uroot --database testing < tests/fixtures/ sqlgrey.sql
8
8
}
9
9
10
10
copy_configuration () {
11
11
cp -n .env .env.bak
12
- cp -v ci /.env.testing .env
12
+ cp -v tests/fixtures /.env.testing .env
13
13
}
14
14
15
15
configure_application () {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ database:
13
13
override :
14
14
- mysql -uubuntu -e "CREATE DATABASE IF NOT EXISTS testing;"
15
15
- mysql -uubuntu -e "GRANT ALL ON testing.* to 'homestead'@'%' IDENTIFIED BY 'secret';"
16
- - mysql -uubuntu --database testing < ci /sqlgrey.sql
16
+ - mysql -uubuntu --database testing < tests/fixtures /sqlgrey.sql
17
17
18
18
general :
19
19
artifacts :
29
29
pre :
30
30
- " ./vendor/laravel/dusk/bin/chromedriver-linux " :
31
31
background : true
32
- - cp ci /.env.testing .env
32
+ - cp tests/fixtures /.env.testing .env
33
33
- php artisan key:generate
34
34
- php artisan migrate
35
35
- php artisan passport:install
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments