Merge pull request #94 from snap-cloud/why-the-heck-cant-i-build-on-travis-🍊🍊
Why the heck cant i build on travis 🍊🍊
This commit is contained in:
commit
31f81a6661
6 changed files with 37 additions and 17 deletions
|
|
@ -1 +1 @@
|
||||||
2.5.8
|
2.6.6
|
||||||
|
|
|
||||||
29
.travis.yml
29
.travis.yml
|
|
@ -1,14 +1,14 @@
|
||||||
sudo: required
|
language: ruby
|
||||||
dist: xenial
|
cache: bundler
|
||||||
|
rvm:
|
||||||
|
- 2.6.6
|
||||||
|
dist: bionic
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- chromium-browser
|
- chromium-browser
|
||||||
language: ruby
|
services:
|
||||||
cache: bundler
|
- postgresql
|
||||||
rvm:
|
|
||||||
- 2.5
|
|
||||||
- 2.6
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- /^depfu/.*$/
|
- /^depfu/.*$/
|
||||||
|
|
@ -26,16 +26,29 @@ notifications:
|
||||||
on_success: change
|
on_success: change
|
||||||
on_failure: change
|
on_failure: change
|
||||||
before_script:
|
before_script:
|
||||||
|
# install CodeClimate test reporter and tell it we are starting a test run
|
||||||
|
# - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > $CCTR
|
||||||
|
# - chmod +x $CCTR
|
||||||
|
# - $CCTR before-build
|
||||||
- RAILS_ENV=test bundle exec rake db:bootstrap --trace
|
- RAILS_ENV=test bundle exec rake db:bootstrap --trace
|
||||||
- RAILS_ENV=test bundle exec bin/rails webdrivers:chromedriver:update
|
- RAILS_ENV=test bundle exec bin/rails webdrivers:chromedriver:update
|
||||||
script:
|
script:
|
||||||
- "./travis_script.sh $TEST_SUITE"
|
- "bin/travis_script.sh $TEST_SUITE"
|
||||||
|
# TODO Get this working.
|
||||||
|
# - $CCTR format-coverage -t simplecov --output coverage/codeclimate.$SUITE.json
|
||||||
|
# after_script:
|
||||||
|
# combine coverage from all suites, and upload3 to CodeClimate
|
||||||
|
# - $CCTR sum-coverage coverage/codeclimate.*.json | $CCTR upload-coverage
|
||||||
|
# - $CCTR after-build --exit-code $TRAVIS_TEST_RESULT
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- OSEM_DB_ADAPTER=sqlite3
|
- OSEM_DB_ADAPTER=sqlite3
|
||||||
- OSEM_DB_HOST=''
|
- OSEM_DB_HOST=''
|
||||||
- OSEM_DB_PORT=''
|
- OSEM_DB_PORT=''
|
||||||
- OSEM_DB_NAME='osem_test'
|
- OSEM_DB_NAME='osem_test'
|
||||||
|
- CC_TEST_REPORTER_ID=$CC_TEST_REPORTER
|
||||||
|
- CCTR=./cc-test-reporter
|
||||||
matrix:
|
matrix:
|
||||||
- TEST_SUITE=ability
|
- TEST_SUITE=ability
|
||||||
- TEST_SUITE=features
|
- TEST_SUITE=features
|
||||||
|
|
|
||||||
2
Gemfile
2
Gemfile
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
# ruby '~> 2.5.0'
|
ruby ENV['TRAVIS_RUBY_VERSION'] || '2.6.6'
|
||||||
|
|
||||||
# rails-assets requires >= 1.8.4
|
# rails-assets requires >= 1.8.4
|
||||||
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')
|
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')
|
||||||
|
|
|
||||||
|
|
@ -784,5 +784,8 @@ DEPENDENCIES
|
||||||
webmock
|
webmock
|
||||||
whenever
|
whenever
|
||||||
|
|
||||||
|
RUBY VERSION
|
||||||
|
ruby 2.6.6p146
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.17.3
|
1.17.3
|
||||||
|
|
|
||||||
18
README.md
18
README.md
|
|
@ -1,12 +1,16 @@
|
||||||
[](https://travis-ci.org/openSUSE/osem)
|
[](https://travis-ci.com/snap-cloud/snapcon)
|
||||||
[](https://codeclimate.com/github/openSUSE/osem)
|
[](https://codeclimate.com/github/snap-cloud/snapcon/maintainability)
|
||||||
[](https://codecov.io/gh/opensuse/osem)
|
[](https://codeclimate.com/github/snap-cloud/snapcon/test_coverage)
|
||||||
[](https://hakiri.io/github/openSUSE/osem/master)
|
[](https://codecov.io/gh/snap-cloud/snapcon)
|
||||||
[](https://depfu.com/repos/openSUSE/osem)
|
[](https://hakiri.io/github/snap-cloud/snapcon/master)
|
||||||
<a href="https://heroku.com/deploy?template=https://github.com/openSUSE/osem/tree/v1.0">
|
[](https://depfu.com/repos/snap-cloud/snapcon)
|
||||||
|
<a href="https://heroku.com/deploy?template=https://github.com/snap-cloud/snapcon/tree/v1.0">
|
||||||
<img src="https://www.herokucdn.com/deploy/button.svg" height="20px" alt="Deploy">
|
<img src="https://www.herokucdn.com/deploy/button.svg" height="20px" alt="Deploy">
|
||||||
</a>
|
</a>
|
||||||
# Open Source Event Manager - [osem.io](https://osem.io)
|
|
||||||
|
# [Snap!Con](https://snapcon.org)
|
||||||
|
forked from:
|
||||||
|
## Open Source Event Manager - [osem.io](https://osem.io)
|
||||||

|

|
||||||
|
|
||||||
An event management tool tailored to Free and Open Source Software conferences.
|
An event management tool tailored to Free and Open Source Software conferences.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue