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
|
||||
dist: xenial
|
||||
language: ruby
|
||||
cache: bundler
|
||||
rvm:
|
||||
- 2.6.6
|
||||
dist: bionic
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- chromium-browser
|
||||
language: ruby
|
||||
cache: bundler
|
||||
rvm:
|
||||
- 2.5
|
||||
- 2.6
|
||||
services:
|
||||
- postgresql
|
||||
branches:
|
||||
except:
|
||||
- /^depfu/.*$/
|
||||
|
|
@ -26,16 +26,29 @@ notifications:
|
|||
on_success: change
|
||||
on_failure: change
|
||||
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 bin/rails webdrivers:chromedriver:update
|
||||
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:
|
||||
global:
|
||||
- OSEM_DB_ADAPTER=sqlite3
|
||||
- OSEM_DB_HOST=''
|
||||
- OSEM_DB_PORT=''
|
||||
- OSEM_DB_NAME='osem_test'
|
||||
- CC_TEST_REPORTER_ID=$CC_TEST_REPORTER
|
||||
- CCTR=./cc-test-reporter
|
||||
matrix:
|
||||
- TEST_SUITE=ability
|
||||
- TEST_SUITE=features
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
# ruby '~> 2.5.0'
|
||||
ruby ENV['TRAVIS_RUBY_VERSION'] || '2.6.6'
|
||||
|
||||
# rails-assets requires >= 1.8.4
|
||||
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')
|
||||
|
|
|
|||
|
|
@ -784,5 +784,8 @@ DEPENDENCIES
|
|||
webmock
|
||||
whenever
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.6.6p146
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.3
|
||||
|
|
|
|||
18
README.md
18
README.md
|
|
@ -1,12 +1,16 @@
|
|||
[](https://travis-ci.org/openSUSE/osem)
|
||||
[](https://codeclimate.com/github/openSUSE/osem)
|
||||
[](https://codecov.io/gh/opensuse/osem)
|
||||
[](https://hakiri.io/github/openSUSE/osem/master)
|
||||
[](https://depfu.com/repos/openSUSE/osem)
|
||||
<a href="https://heroku.com/deploy?template=https://github.com/openSUSE/osem/tree/v1.0">
|
||||
[](https://travis-ci.com/snap-cloud/snapcon)
|
||||
[](https://codeclimate.com/github/snap-cloud/snapcon/maintainability)
|
||||
[](https://codeclimate.com/github/snap-cloud/snapcon/test_coverage)
|
||||
[](https://codecov.io/gh/snap-cloud/snapcon)
|
||||
[](https://hakiri.io/github/snap-cloud/snapcon/master)
|
||||
[](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">
|
||||
</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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue