X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/edd49e85823079d6de19cbc9f89c6abc0568382b..HEAD:/.travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 996495c0d..000000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -dist: xenial -language: ruby -rvm: - - 2.5.3 -cache: - - bundler -addons: - postgresql: 9.5 - apt: - packages: - - libarchive-dev -services: - - memcached -env: - global: - - OSM_MEMCACHE_SERVERS="127.0.0.1" -before_script: - - sed -e 's/ IMMUTABLE / /' -e "/^--/d" db/structure.sql > db/structure.expected - - psql -U postgres -c "CREATE DATABASE openstreetmap" - - psql -U postgres -c "CREATE EXTENSION btree_gist" openstreetmap - - psql -U postgres -f db/functions/functions.sql openstreetmap - - cp config/travis.database.yml config/database.yml - - cp config/example.storage.yml config/storage.yml - - touch config/settings.local.yml - - bundle exec rake db:migrate - - bundle exec rake i18n:js:export - - bundle exec rake yarn:install -script: - - bundle exec rubocop -f fuubar - - bundle exec rake eslint - - bundle exec erblint . - - bundle exec rake db:structure:dump - - sed -e "/idle_in_transaction_session_timeout/d" -e 's/ IMMUTABLE / /' -e "/^--/d" db/structure.sql > db/structure.actual - - diff -uw db/structure.expected db/structure.actual - - bundle exec rake test:db