.travis.yml in react_on_rails-1.0.0.pre vs .travis.yml in react_on_rails-1.0.0

- old
+ new

@@ -1,34 +1,47 @@ +sudo: required + language: ruby + rvm: -- 2.2.2 + - 2.2.3 +services: + - docker + gemfile: -- spec/dummy/Gemfile + - spec/dummy/Gemfile env: - - export RAILS_ENV=test + - export RAILS_ENV=test +before_install: + - sudo apt-get update + - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose + - chmod +x docker-compose + - sudo mv docker-compose /usr/local/bin + - sudo apt-get install -y xvfb + install: -- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4.2.0 -- npm install -g npm -- bundle install -- cd spec/dummy/client && npm install -- $(npm bin)/webpack --config webpack.server.js -- $(npm bin)/webpack --config webpack.client.js -- cd ../../dummy-react-013/client && npm install -- $(npm bin)/webpack --config webpack.server.js -- $(npm bin)/webpack --config webpack.client.js + - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4.2.0 + - npm install -g npm + - bundle install + - cd spec/dummy/client && npm install + - $(npm bin)/webpack --config webpack.server.js + - $(npm bin)/webpack --config webpack.client.js + - cd ../../dummy-react-013/client && npm install + - $(npm bin)/webpack --config webpack.server.js + - $(npm bin)/webpack --config webpack.client.js + - cd ../../../ + - docker-compose up lint before_script: -- cd ../../ -- export DISPLAY=:99.0 -- sh -e /etc/init.d/xvfb start + - "export DISPLAY=:99" + - Xvfb :99 -ac -screen scn 1600x1200x16 & script: -- rake run_rspec:gem -- DRIVER=selenium_firefox rake run_rspec:dummy -- DRIVER=selenium_firefox rake run_rspec:dummy_react_013 + - rake + - rake docker:lint notifications: slack: secure: LfcUk4AJ4vAxWwRIyw4tFh8QNbYefMwfG/oLfsN3CdRMWMOtCOHR1GGsRhAOlfVVJ/FvHqVqWj5gK7z7CaO5Uvl7rD3/zJ8QzExKx/iH9yWj55iIPuKLzwFNnBwRpFW/cqyU2lFPPRxGD50BUn3c+qybkuSqtKZ6qtTowwqlxLa5iyM3N95aZp7MEIKCP7cPcnHfLbJyP8wBpotp/rtw62eXM2HIRJJwgjcp+n+My7VFR9DnBXNFf6R91aZHM4U4cHHDbu15HFtH8honVrzK1JQdyqMNHga+j04dFuaS7z9Q369/hsELMOBp/227+Pz7ZRfWZFK4UASguOvyeX7RmGTRpTuWLm1XJeUzfsPZVROecaSVQBve+U7F12yKqilt97QlvRXn2EGyBILqvxtFNNR4S9kgAf72/6EFgiM1TKq7i9zy6lVOnagU2+7amq7UeopX1uoFsUfNKMR7YbgV1WjF0IK95UP0b0/7ZOJlPYgi5zzkQi129qAFWSMmxGk+ZpsttHh/tjJtvAh0A3mHq/zb5w4ub/MbSyZqeDUNgGj72QArOWUFSAStQT1ybsVLeDoKPgOvVq7OV1D64rpcHjBXcqOCit8tDZ+TqkFhcYJo2cITSaqE4zJXn+4F5s7So5O8CyfKYQq+kFJCooYGmfgTUckJpGl7eIvKmL4TN9Q=