remove travis

This commit is contained in:
Andrew Brown 2021-05-24 16:00:25 -07:00
parent 194e14fe77
commit c7de9ff4a8
7 changed files with 3 additions and 33 deletions

View File

@ -1 +0,0 @@
service_name: travis-ci

View File

@ -3,11 +3,9 @@
# See: https://docs.docker.com/engine/reference/builder/#dockerignore-file
.git/
.github/
.coveralls.yml
.dockerignore
.editorconfig
.gitignore
.travis.yml
.rubocop.yml
CHANGELOG.md
docker-compose.yml

View File

@ -20,16 +20,15 @@ We also keep ideas in there, and you are welcome to jump into the conversation.
## Adding and updating features
Please [create a pull request][pr] to implement features you'd like to see.
[Travis-ci][travis] is building every pull request,
GitHub Actions builds every pull request,
so we'll have prompt feedback on the progress of the feature implementation.
We require a few things in order to merge a pull request:
- You must merge `master`'s latest commit
- There must be no merge conflicts
- Your new feature must be covered by tests
- The Travis build must pass
- The test build must pass
[travis]: https://travis-ci.org/indentlabs/notebook
[pr]: https://github.com/indentlabs/notebook/compare/
[create an issue report]: https://github.com/indentlabs/notebook/issues/new
[issue tracker]: https://github.com/indentlabs/notebook/issues

View File

@ -1,16 +0,0 @@
language: ruby
cache: bundler
bundler_args: "--without production"
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database travis_ci_test;' -U postgres
notifications:
slack:
secure: OixL+deBxFfKx8ORQSIOufPzcMfsoGN572D4MMDuV7qWLFEHQ33WWR+6pbTyTaYn5XtA4tWxD0QtCy3pZbHBS/M9bJjMzOF1wq8aIk63cgL/SZfFrqorQeGc5iaKPce3BK2x+LUES06pQsRR8N3PpXnCO/pAqqCmaO9vjQHW+86aLK4GJxDZqzj7d96/3rP9CWSoM/gYTWmXUR3riDofcAky8QId1wR6nNMk6Nrgw0iHgzRC5s2fvg72KetWI7Dt7oDKsMwMCjy7pk0gIAWNqpapKhYLrwWvrvaCrgbcW8R40J7Uq4jvgrhZGGBVS7IaQz+7gCRgRPRZl8l+6r0PYWv2ETw1gmyn7oA/C7UUD37jAJhCIYg256YM8zjh2WR79Kfvz20jBnjlArjIZzM/KHF6G0UBvwn+JBhL1Z54BKgVMZiKKdnqtGoJPmJw9PslNX3NEZVrFsYtgzb434hcRyixJtp2mTAVrW01jt7bzz/RUlGkIvwepjwyVxTWHCyJp2rRHqmRP7R6sSUTa9qYHXL9FGDK5sa7TYLNjPdxtSicLpDlBIDic3wrOrcaKKpWgIphC8Rw2nLxFU3rvLDUCihi8quOvrIAL/RW7FY0HcUycu8LiNm2DNuHF2rXihUYrakLUdC6TgibtIWySTq1cjJPMg1djOdS+Q8AXnm5UGE=
deploy:
provider: heroku
app: production-1
api_key:
secure: c0kxqjLclbkJNKO7zdIHSPc6s6/YiW67MlqnslEpLKWV/KcSKgB6ucF0GOkT3CqcgXXY4lk0p2hgBGesgE6BRZUm7du6qPG8bHiMZkD7rbv3WSRsm1ow6COf9KOvBjCqdmLETZEqJ0cpWxZX9iNMcYciVIQsNIx0mu9+8cWchkfqpLFoliVML7pzbaewjIJZRRjdvZzfG0knL7B+aValw2fZBVnqvrc7zkiAmqsnhjLPJCojUD7++UJjTv477JoBlGBPbk5E+o8NFImFdiPcWZzIHQEoGZm4fMGbTVLHsA+/u5nHwTaCt7IAyDYUPF58peB/a9ocXlDGVSKf6OrvVEpLF1YFoogZOHdBAzyFoCROkWKWVm+rVMo2dFK56/lmaH7+/PEka+k6poRVlZISVO/xtwB/lAeyPLGCoDUeEHuKQB9iLmvIDD8gyBy5Bf6SP1TOtVbmAHUV3r2Ch/HNxSYwUGbPZI+DtM/prAZGsxSKnXZYEl3aTbr30Pc79Vlspf9BdzGrx2ywwu/td0NRNb13gsfR5X3gsA32aHtNSqMTJB6QDWeWgvk/AyNqy3pq2ie7SZ0dntQjavbkjTnMvy+Sf3AjLleVsOpDlYLS6LovlfD3jRIZZ6Eva0PaMAqwQhwRY9KnK3HZskQh5y9bQPJKWTU1MAlL1hn0A8WZQek=
services:
- postgresql

View File

@ -1,5 +1,4 @@
= Notebook.ai
{<img src="https://travis-ci.org/indentlabs/notebook.png?branch=master" alt="Build Status" />}[https://travis-ci.org/indentlabs/notebook]
{<img src="https://codeclimate.com/github/indentlabs/notebook/badges/gpa.svg" />}[https://codeclimate.com/github/indentlabs/notebook]
{<img src="https://codeclimate.com/github/indentlabs/notebook/badges/coverage.svg" />}[https://codeclimate.com/github/indentlabs/notebook/coverage]
{<img src="http://inch-ci.org/github/indentlabs/notebook.svg?branch=master" alt="Inline docs" />}[http://inch-ci.org/github/indentlabs/notebook]

View File

@ -1,9 +0,0 @@
##
# Following Travis's recommendation on maintaing a separate Travis test database:
#
# http://docs.travis-ci.com/user/using-postgresql/
test:
adapter: postgresql
database: travis_ci_test
username: postgres

View File

@ -3,7 +3,7 @@ require 'test_helper'
class UserTest < ActiveSupport::TestCase
def setup
@free_user = User.new
@free_user.selected_billing_plan_id = 1
@free_user.selected_billing_plan_id = BillingPlan::FREE_IDS.first
@premium_user = User.new
@premium_user.selected_billing_plan_id = BillingPlan::PREMIUM_IDS.first