-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
35 lines (35 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo: true
dist: jammy
language: ruby
services:
- redis-server
- mysql
jdk:
- openjdk11
rvm:
- 3.3.4
addons:
apt:
packages:
- ffmpeg
cache:
bundler: true
before_install:
- cp .env.test.example .env.test
- gem update bundler
- gem install bundler
- bundle install
before_script:
- curl -sSL https://raw.githubusercontent.com/UsmanLhrPk/travis-solr/master/travis-solr.sh | SOLR_VERSION=9.3.0 SOLR_COLLECTION=test SOLR_COLLECTION_CONF=solr/configsets/sunspot/conf bash
- RAILS_ENV=test bundle exec rake db:create
- RAILS_ENV=test bundle exec rake db:migrate
script:
- bundle exec rspec
- bundle exec license_finder
env:
global:
- secure: vzd+BkkXxRcLdz9pCVtP03lvbq6QXfAhXFfNb3Aso8gWhvWKJf+15NJ/9RAZsQHFvXjYr3XbdcQLeJlONOEkSbmKCMSadQ/s8jrXkVdF3q8meArIZgGKaMAz/9bfVjPxEjHYIKCqGT67K4STVVl5HYxwheCJ9qaL1V/i/r+L8pzhTdYJNetBTiKl34UiU+kv1a4F6GkgvrjJiD5b7B6t77yuYvoigxqCAv3SHzZwDWcGSLg35Cu1sopPW+VTUy+CaUXvAzG3GD8EYOzTd2aDDG/+HNgl8tPPDWfsJtyEHfGxYuAgXTXmD8qSmKYpHbd4WwDN5XJGcmCTuUwWzQ9seSCMPi88G78W+pU6UWe3FikuKuUKF8NCxUUVhsrqARuBp3NrLIWcZbNLTKFsgzju3yfZmQvHTtdbsOYahW2MXfpz7y4eGChMoaiUfsql7RTxOlTGx0XHVdFe7rR6yum5SWyXGfrN0l6gUmq/Jb4iWJnWdfp4ndETtwwMVylL+9BBNf7Mg9agisq3XOvEC9jMNR74lDecHC3R54XqGiUVKSyF887+AwTMpkmA+lzR7mVr+kuWmtmD0kksZhtQ4a8wx75SsDZpiZeJHTN+wzZ2UVXfFQnzXXV/B4sfhwbwSDtfr+TACUVCxmOUW6oh9VQmKQWlJnTX6iNmGVtqc8QXfGs=
branches:
only:
- main
- dev