Sha256: 7b24e6ada8a95e2a29e35ec46a19c013df0776c1cbdcc9de45c9c86fce083514

Contents?: true

Size: 698 Bytes

Versions: 2

Compression:

Stored size: 698 Bytes

Contents

sudo: true
language: ruby
rvm:
  - 2.3.1
services:
  - mysql
addons:
  apt:
    sources:
      - mysql-5.7-trusty
    packages:
      - mysql-server
      - mysql-client  
before_install: 
  - gem install bundler -v 1.16.2
  - sudo mysql -e 'create database onboarding; use onboarding; create table item (id INT NOT NULL AUTO_INCREMENT, name varchar(255), primary key (id))'
  - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('root') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
  - sudo mysql_upgrade -u root -proot
  - sudo service mysql restart
install:
  - gem install mysql
  - bundle install
script:
  - bundle exec rspec spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
item_crud-0.1.1 .travis.yml
item_crud-0.1.0 .travis.yml