test two!

This commit is contained in:
Eric Schultz 2018-09-06 17:11:22 -05:00
parent 09fb9031d1
commit edad4a51d6
3 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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
View file

@ -0,0 +1,2 @@
#!/bin/bash
rake db:create db:structure:load test:prepare && rake spec && npx jest && npm run build-all