Commit graph

42 commits

Author SHA1 Message Date
Henne Vogelsang
e18174a3b3
Update CI to ubuntu xenial and chromium
trusty is rather old, living on the edge baby! Also switch to chromium for
testing, the latest google-chrome version has problems to start with webdrivers
(DevToolsActivePort file doesn't exist).
2019-07-16 23:49:05 +02:00
Ana María Martínez Gómez
ca52d04289
Run Travis for all branches except depfu
Otherwise when working on a fork Travis doesn't run for the branch you
are working on. Now you can try things out and ensure it works before
sending a PR.

depfu branches keep excluded as it will cause that we run it twice.
2019-04-29 14:37:52 +02:00
James Mason
f1398d75c8 Run travis suite on sqlite3 2018-11-19 08:40:55 -08:00
James Mason
b72bb8a0ed Enable chrome on travis 2018-11-19 08:40:55 -08:00
Henne Vogelsang
f8b7233404 Put database.yml into the code base
It works by default, we have a mechanism to configure it (dotenv.example)
and we want to be a 12factor app, right? Let's do this...
2018-09-20 11:33:57 -07:00
Henne Vogelsang
a0b79c7789 Drop knapsack
It constantly fails with "Mysql2::Error: This connection is in use by...".
Might be because of database cleaner? But until we can get this stable,
rip it out again.

Replaced by a matrix based on test type
2018-09-20 00:56:17 +02:00
Henne Vogelsang
00670b03f6 Introduce setup rake tasks
Put what has to be done to have a working installation into one place instead
of spreading it to multiple files.
2018-09-12 21:05:39 +02:00
Henne Vogelsang
55818e30de Use the new database.yml example file in CI
12 factor in our CI, what a riot! ;-)
2018-09-12 19:41:37 +02:00
Henne Vogelsang
272690fa21 Setup a more recent ruby version
2.5.0 has been released since 8 months now...
2018-09-06 00:43:25 +02:00
Henne Vogelsang
9380173fbc Disable Travis branch builds except for master
This is neccesarry to not build depfu branches now that
we have enabled depfu.
2018-08-30 16:38:51 +02:00
James Mason
806cdbe046 Switch coverage host from coveralls -> codecov
Coveralls seems incapable of cleanly handling parallel results.
2018-05-21 16:24:25 +02:00
James Mason
899a359202 Configure Coveralls to accept parallel test results. 2018-05-15 07:14:16 -07:00
James Mason
dd0a52cca9 Use knapsack to parallelize tests
...in order to reduce TravisCI runtimes
2018-05-09 06:39:06 -07:00
James Mason
7944494f74 Add metadata for specifying a gemset for rvm 2018-03-15 00:53:26 +01:00
evris99
f2d3813986 Changed db:migrate to db:schema:load 2017-11-16 18:34:47 +02:00
Ana María Martínez Gómez
9f8836732d Update mariadb to 10.2 to solve Travis failures
Our test suite is failing in Travis as it complains about not finding
`libmysqlclient-dev` which is needed for mysql2. But installing
`libmysqlclient-dev` conflicts with MariaDB 10.1. So I updated MariaDB
to 10.2 and mysql to the last version as the old one is not compatible
with MariaDB 10.2. The missed `libmysqlclient-dev` is not needed any
more.
2017-09-12 13:29:16 +02:00
rahul
e71b06bd57 Add ruby 2.4 to travis and vagrant 2017-07-16 22:39:11 +05:30
mdeniz
5acb4a9339 Split in 2 jobs Travis build 2017-06-09 14:41:44 +02:00
Agrim Mittal
681dfb7889 Add haml-lint to travis script 2017-04-26 20:11:38 +05:30
Christian Bruckmayer
322d58c61c
Revert "fixed travis issues"
This reverts commit 1255088ff0.

Because it broke our heroku deployment
2017-03-03 15:07:54 +01:00
Siddhant Bajaj
1255088ff0 fixed travis issues 2017-02-20 23:43:02 +05:30
Hernan Schmidt
1eaf810548 In Travis, run tests on MariaDB 2016-08-22 16:39:19 +02:00
Rishabh Saxena
43ac7742a1 travis: provide Stripe API keys 2016-08-16 23:01:28 +05:30
Henne Vogelsang
d532016312 Get config.yml/secrets.yml out of travis/vagrant 2016-04-29 16:36:47 +02:00
Henne Vogelsang
a79193f7af Switch to ruby 2.2.3 2016-04-05 13:43:52 +02:00
Henne Vogelsang
779004e7e3 Switch travis to trusty builds
https://docs.travis-ci.com/user/trusty-ci-environment/
2016-04-05 13:43:52 +02:00
Aditya Prakash
99c47a08ef Running rubocop first would give faster CI response for style offense
Chekout:
https://travis-ci.org/openSUSE/osem/builds/118816901
https://travis-ci.org/openSUSE/osem/builds/117943633
https://travis-ci.org/openSUSE/osem/builds/116962415
https://travis-ci.org/openSUSE/osem/builds/116489044
2016-03-30 23:07:12 +05:30
Henne Vogelsang
5565d8fb68 Don't limit travis to master 2016-02-18 14:35:14 +01:00
Aditya Prakash
ba9a3e8afa Enable Bundler caching on travis
Read more about it here: https://docs.travis-ci.com/user/caching/#Bundler
closes: #350
2016-02-12 14:30:00 +05:30
Henne Vogelsang
27e8016cf2 Travis: Enable IRC notification, disable addons 2016-02-08 14:58:11 +01:00
Henne Vogelsang
09c5cec3da Enable travis artifacts 2016-02-01 17:51:42 +01:00
Artem Chernikov
d245b9db12 Echo version of phantomjs in use 2014-07-21 16:05:30 +02:00
Artem Chernikov
949ce14fca Update travis and rubocop to work together 2014-07-21 15:57:54 +02:00
Artem Chernikov
98e9dec252 Fix travis rubocop 2014-07-21 15:23:10 +02:00
Artem Chernikov
ad2ec92cfa Add rubocop to travis run 2014-07-21 15:06:22 +02:00
Artem Chernikov
c482d88e3a Travis should not install ri and rdocs 2014-07-07 15:06:44 +02:00
KalabiYau
59b83ceeb4 Drop Travises usage of xvfb 2014-07-07 15:06:43 +02:00
Henne Vogelsang
ee5d48d494 Migrate all secrets to config/secrets.yml 2014-05-12 18:32:26 +02:00
KalabiYau
a6031df9f2 Fix failing tests. Replace ruby to 2.1.1 in travis. Update travis config 2014-04-24 22:02:50 +02:00
Henne Vogelsang
33d74277d0 Make the travis log shorter, enable coveralls rails mode 2014-04-10 11:59:24 +02:00
Henne Vogelsang
25f24c1410 Ran migrations, migrate, prepare the test db on travis, use rspec 2014-04-09 18:21:32 +02:00
Henne Vogelsang
237318c7b4 Enable travis and coveralls 2014-04-09 17:04:03 +02:00