version: '1.0'

steps:
  build-torchani:
    type: build
    description: Build TorchANI
    image-name: torchani
    dockerfile: Dockerfile
    tag: latest
  unit-tests:
    image: '${{build-torchani}}'
    commands:
      - flake8
      - python setup.py test
      - python2 setup.py test