Push event #962.1 passed

  • Ran for
AMD64
no language set
Git
language: ruby

sudo: false

services:
  - postgresql

addons:
  postgresql: "9.6"

cache:
  directories:
    - vendor/bundle

rvm: "2.3.4"

env:
  - RAILS_ENV=test

script:
  - bundle exec rspec spec
  - script/validate_structure_file.rb db/main/structure-original.sql

before_script:
  - cp db/main/structure.sql db/main/structure-original.sql
  - cp config/database.yml.travis config/database.yml
mv1388/aitoolbox:.travis.yml@a725b7f
language: python

#python:
# - "3.6"
# - "3.7"

matrix:
  include:
    - name: "Ubuntu 16.04 - Python 3.6"
      os: linux
      dist: xenial  # Ubuntu 16.04
      python: 3.6
    - name: "Ubuntu 16.04 - Python 3.7"
      os: linux
      dist: xenial  # Ubuntu 16.04
      python: 3.7
    - name: "Ubuntu 18.04 - Python 3.6"
      os: linux
      dist: bionic  # Ubuntu 18.04
      python: 3.6
    - name: "Ubuntu 18.04 - Python 3.7"
      os: linux
      dist: bionic  # Ubuntu 18.04
      python: 3.7
#    - name: "OSX xcode10.2 - Python 3"
#      os: osx
#      osx_image: xcode10.2
#      language: generic
#      addons:
#        homebrew:
#          # update: true
#          packages: python3
#      before_install:
#        - pip3 install virtualenv
#        - virtualenv -p python3 ~/venv
#        - source ~/venv/bin/activate

#cache: pip

# command to install dependencies
install:
  - pip install tensorflow keras moto[all] pytest
  - pip install -r requirements.txt

script:
  - pytest tests
Build Config
{
  "os": [
    "linux"
  ],
  "env": {
    "matrix": [
      "RAILS_ENV=test"
    ]
  },
  "rvm": [
    "2.3.4"
  ],
  "dist": "trusty",
  "sudo": false,
  "cache": {
    "directories": [
      "vendor/bundle"
    ]
  },
  "addons": {
    "postgresql": "9.6"
  },
  "script": [
    "bundle exec rspec spec",
    "script/validate_structure_file.rb db/main/structure-original.sql"
  ],
  "language": "ruby",
  "services": [
    "postgresql"
  ],
  "before_script": [
    "cp db/main/structure.sql db/main/structure-original.sql",
    "cp config/database.yml.travis config/database.yml"
  ]
}