-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #819 from kevinhughes27/fix-ci
fix ci
- Loading branch information
Showing
9 changed files
with
483 additions
and
830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
language: node_js | ||
node_js: 8.11.3 | ||
|
||
addons: | ||
postgresql: 9.4 | ||
chrome: stable | ||
artifacts: | ||
paths: | ||
- $HOME/tmp/coverage | ||
- $HOME/tmp/capybara | ||
|
||
services: | ||
- redis-server | ||
|
||
cache: | ||
bundler: true | ||
directories: | ||
- /home/travis/.rvm/ | ||
- /node_modules | ||
- /client/node_modules | ||
- /clients/admin_next/node_modules | ||
- /clients/player_app/node_modules | ||
|
||
env: | ||
RAILS_ENV: test | ||
RACK_ENV: test | ||
GENERATE_SOURCEMAP: false | ||
|
||
before_install: | ||
- rvm install 2.5.1 | ||
- gem install bundler | ||
- wget -N http://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip -P ~/ | ||
- unzip ~/chromedriver_linux64.zip -d ~/ | ||
- rm ~/chromedriver_linux64.zip | ||
- sudo mv -f ~/chromedriver /usr/local/share/ | ||
- sudo chmod +x /usr/local/share/chromedriver | ||
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver | ||
|
||
install: | ||
- bundle install --with ci --without production --without development | ||
- yarn install | ||
- bundle exec rake assets:precompile | ||
- cd clients/admin_next && yarn build && cd ../.. | ||
- cd clients/player_app && yarn build && cd ../.. | ||
|
||
before_script: | ||
- bundle exec rake db:create | ||
- bundle exec rake db:schema:load | ||
|
||
script: | ||
- cd clients/admin_next && yarn type-check && cd ../.. | ||
- bundle exec rake ci:all | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.