test two!
This commit is contained in:
parent
09fb9031d1
commit
edad4a51d6
3 changed files with 4 additions and 2 deletions
|
@ -9,4 +9,4 @@ before_install:
|
||||||
- docker-compose -f docker/build/docker-compose.yml build
|
- docker-compose -f docker/build/docker-compose.yml build
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker-compose -f docker/build/docker-compose.yml up
|
- docker-compose -f docker/build/docker-compose.yml run build script/test.sh
|
|
@ -13,4 +13,4 @@ WORKDIR /myapp
|
||||||
COPY Gemfile /myapp/Gemfile
|
COPY Gemfile /myapp/Gemfile
|
||||||
COPY Gemfile.lock /myapp/Gemfile.lock
|
COPY Gemfile.lock /myapp/Gemfile.lock
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
CMD rake db:create db:structure:load test:prepare && rake spec && npx jest && npm run build-all
|
CMD
|
||||||
|
|
2
script/test.sh
Executable file
2
script/test.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
rake db:create db:structure:load test:prepare && rake spec && npx jest && npm run build-all
|
Loading…
Reference in a new issue