sudo: required dist: trusty services: - docker - postgres language: ruby env: - 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 before_install: # Repo for newer Node.js versions - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - - yarn - export BUNDLE_GEMFILE="$TRAVIS_BUILD_DIR/Gemfile" - export BUNDLE_PATH="$HOME/.bundle" cache: bundler: true directories: - $HOME/.yarn-cache - $HOME/node_modules script: - cd $GEM; - $TRAVIS_BUILD_DIR/run_ci.sh rvm: - 2.3.3 notifications: email: false addons: postgresql: "9.4"