sudo: required dist: trusty services: - docker - postgres language: ruby branches: only: - master env: global: - BUNDLE_GEMFILE="$TRAVIS_BUILD_DIR/Gemfile" - BUNDLE_PATH="$HOME/.bundle" matrix: - GEM=. DB=postgres - GEM=decidim-admin DB=postgres - GEM=decidim-core DB=postgres - GEM=decidim-system DB=postgres - GEM=decidim-api DB=postgres - GEM=decidim-pages DB=postgres - GEM=decidim-comments DB=postgres - GEM=decidim-meetings DB=postgres - GEM=decidim-proposals DB=postgres before_install: # Repo for newer Node.js versions - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - - yarn bundler_args: --jobs=3 --retry=3 --deployment --path="$HOME/.bundle" cache: directories: - $HOME/.bundle - $TRAVIS_BUILD_DIR/.yarn-cache - $TRAVIS_BUILD_DIR/node_modules - $BUNDLE_PATH script: - cd $GEM; - $TRAVIS_BUILD_DIR/run_ci.sh rvm: - 2.4.0 notifications: email: false addons: postgresql: "9.4"