forked from rubytoolbox/rubytoolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
112 additions
and
4 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,9 +1,16 @@ | ||
language: ruby | ||
script: | ||
- bundle exec rspec | ||
|
||
services: | ||
- postgresql | ||
|
||
addons: | ||
postgresql: "9.6" | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
script: bundle exec rspec | ||
before_script: | ||
- bin/rails db:setup | ||
script: | ||
- bundle exec rspec | ||
- script: bundle exec rubocop |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
SET statement_timeout = 0; | ||
SET lock_timeout = 0; | ||
SET client_encoding = 'UTF8'; | ||
SET standard_conforming_strings = on; | ||
SET check_function_bodies = false; | ||
SET client_min_messages = warning; | ||
|
||
-- | ||
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: - | ||
-- | ||
|
||
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog; | ||
|
||
|
||
-- | ||
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: - | ||
-- | ||
|
||
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; | ||
|
||
|
||
SET search_path = public, pg_catalog; | ||
|
||
SET default_tablespace = ''; | ||
|
||
SET default_with_oids = false; | ||
|
||
-- | ||
-- Name: ar_internal_metadata; Type: TABLE; Schema: public; Owner: -; Tablespace: | ||
-- | ||
|
||
CREATE TABLE ar_internal_metadata ( | ||
key character varying NOT NULL, | ||
value character varying, | ||
created_at timestamp without time zone NOT NULL, | ||
updated_at timestamp without time zone NOT NULL | ||
); | ||
|
||
|
||
-- | ||
-- Name: rubygems; Type: TABLE; Schema: public; Owner: -; Tablespace: | ||
-- | ||
|
||
CREATE TABLE rubygems ( | ||
name character varying NOT NULL, | ||
downloads integer NOT NULL, | ||
version character varying NOT NULL, | ||
authors character varying, | ||
bug_tracker_uri character varying, | ||
changelog_uri character varying, | ||
documentation_uri character varying, | ||
homepage_uri character varying, | ||
mailing_list_uri character varying, | ||
source_code_uri character varying, | ||
wiki_uri character varying, | ||
info text, | ||
github_repo character varying, | ||
created_at timestamp without time zone NOT NULL, | ||
updated_at timestamp without time zone NOT NULL | ||
); | ||
|
||
|
||
-- | ||
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace: | ||
-- | ||
|
||
CREATE TABLE schema_migrations ( | ||
version character varying NOT NULL | ||
); | ||
|
||
|
||
-- | ||
-- Name: ar_internal_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: | ||
-- | ||
|
||
ALTER TABLE ONLY ar_internal_metadata | ||
ADD CONSTRAINT ar_internal_metadata_pkey PRIMARY KEY (key); | ||
|
||
|
||
-- | ||
-- Name: schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: | ||
-- | ||
|
||
ALTER TABLE ONLY schema_migrations | ||
ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version); | ||
|
||
|
||
-- | ||
-- PostgreSQL database dump complete | ||
-- | ||
|
||
SET search_path TO "$user",public; | ||
|
||
INSERT INTO "schema_migrations" (version) VALUES | ||
('20170504202906'); | ||
|
||
|
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