mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 23:54:44 +02:00
Remove Travis support
This commit is contained in:
parent
36ff1fcf39
commit
1b8906a9cc
1 changed files with 0 additions and 35 deletions
35
.travis.yml
35
.travis.yml
|
@ -1,35 +0,0 @@
|
||||||
language: ruby
|
|
||||||
cache: bundler
|
|
||||||
env:
|
|
||||||
- DB=postgresql
|
|
||||||
before_install:
|
|
||||||
- "wget -N http://chromedriver.storage.googleapis.com/2.43/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"
|
|
||||||
- "bundle config set without 'development staging production'"
|
|
||||||
- "bundle config set deployment '[secure]'"
|
|
||||||
before_script:
|
|
||||||
- "cp config/application.yml.sample config/application.yml"
|
|
||||||
- "echo \"openssl_config_path: 'test/fixtures/files/test_ca/openssl.cnf'\" >> config/application.yml"
|
|
||||||
- "echo \"crl_dir: 'test/fixtures/files/test_ca/crl'\" >> config/application.yml"
|
|
||||||
- "echo \"crl_path: 'test/fixtures/files/test_ca/crl/crl.pem'\" >> config/application.yml"
|
|
||||||
- "echo \"ca_cert_path: 'test/fixtures/files/test_ca/certs/ca.crt.pem'\" >> config/application.yml"
|
|
||||||
- "echo \"ca_key_path: 'test/fixtures/files/test_ca/private/ca.key.pem'\" >> config/application.yml"
|
|
||||||
- "echo \"ca_key_password: 'password'\" >> config/application.yml"
|
|
||||||
- "cp config/database_travis.yml config/database.yml"
|
|
||||||
- "bundle exec rake db:setup:all"
|
|
||||||
- "curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter"
|
|
||||||
- "chmod +x ./cc-test-reporter"
|
|
||||||
- "./cc-test-reporter before-build"
|
|
||||||
after_script:
|
|
||||||
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
|
||||||
script:
|
|
||||||
- "bundle exec rails test test/*"
|
|
||||||
services:
|
|
||||||
- postgresql
|
|
||||||
addons:
|
|
||||||
postgresql: "9.4"
|
|
||||||
chrome: stable
|
|
Loading…
Add table
Add a link
Reference in a new issue