-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry pick local builds for travis runners, #672
Co-authored-by: Álax de Carvalho Alves <alaxallves@gmail.com>
- Loading branch information
1 parent
9a54f16
commit 4e01707
Showing
22 changed files
with
114 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
require 'simplecov-cobertura' | ||
|
||
if ENV['CI'] == 'true' | ||
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter | ||
else | ||
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter | ||
end | ||
|
||
SimpleCov.start 'rails' do | ||
add_group 'Units', 'app/models' | ||
add_group 'Functionals', 'app/controllers' | ||
add_group 'Services', 'app/services' | ||
add_group 'Libraries', 'lib/' | ||
|
||
add_filter '/test/' | ||
add_filter '/config/' | ||
add_filter '/db/' | ||
add_filter '/vendor/' | ||
add_filter '/log/' | ||
add_filter '/tmp/' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
$icon-font-path: "bootstrap-sass/assets/fonts/bootstrap/"; | ||
@import "style"; | ||
@import "maps"; | ||
@import "header"; | ||
@import "uploads"; | ||
@import "annotations"; | ||
@import "bootstrap/dist/css/bootstrap.min.css"; | ||
@import "leaflet-draw/dist/leaflet.draw.css"; | ||
@import "leaflet-illustrate/dist/Leaflet.Illustrate.css"; | ||
@import "leaflet-toolbar/dist/leaflet.toolbar.css"; | ||
@import "leaflet-distortableimage/dist/leaflet.distortableimage.css"; | ||
@import "fontawesome/css/font-awesome.min.css"; | ||
// /* | ||
// * This is a manifest file that'll be compiled into application.css, which will include all the files | ||
// * listed below. | ||
// * | ||
// * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | ||
// * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | ||
// * | ||
// * You're free to add application-wide styles to this file and they'll appear at the top of the | ||
// * compiled file, but it's generally better to create a new file per style scope. | ||
// * | ||
|
||
// */ |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
development: | ||
default: &default | ||
encoding: utf8 | ||
adapter: mysql2 | ||
|
||
development: | ||
<<: *default | ||
username: root | ||
password: | ||
database: mapknitter | ||
|
||
production: | ||
adapter: mysql2 | ||
<<: *default | ||
host: db | ||
username: mapknitter | ||
password: mapknitter | ||
database: mapknitter | ||
|
||
test: | ||
adapter: mysql2 | ||
<<: *default | ||
username: root | ||
password: | ||
database: mapknittertest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
development: | ||
default: &default | ||
encoding: utf8 | ||
adapter: mysql2 | ||
|
||
development: | ||
<<: *default | ||
username: | ||
password: | ||
database: mapknitter | ||
database: mapknitter-dev | ||
|
||
production: | ||
adapter: mysql2 | ||
host: db | ||
<<: *default | ||
username: mapknitter | ||
password: mapknitter | ||
database: mapknitter | ||
|
||
test: | ||
adapter: mysql2 | ||
username: mapknitter | ||
password: mapknitter | ||
host: db | ||
database: mapknitter | ||
<<: *default | ||
username: root | ||
database: mapknitter-test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
sudo apt-get install gdal-bin python-gdal curl libcurl4-openssl-dev libssl-dev zip libmysqlclient-dev imagemagick ruby-rmagick libfreeimage3 libfreeimage-dev ruby-dev libmagickcore-dev libmagickwand-dev | ||
sudo add-apt-repository -y ppa:ubuntugis/ppa | ||
sudo apt-get update | ||
sudo apt-get install -y gdal-bin \ | ||
python3-gdal \ | ||
python-gdal \ | ||
curl \ | ||
libcurl4-openssl-dev \ | ||
libssl-dev zip \ | ||
libmysqlclient-dev \ | ||
imagemagick \ | ||
ruby-rmagick \ | ||
libfreeimage3 \ | ||
libfreeimage-dev \ | ||
ruby-dev \ | ||
libmagickcore-dev \ | ||
libmagickwand-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.