version: 0.2
#this build spec assumes the ubuntu 14.04 trusty image
phases:
  install:
    commands:
  pre_build:
    commands:
      - export CC=gcc
  build:
    commands:
      - JAVA_HOME=/opt/jdk1.8.0_201/ setarch i386 mvn -B compile -Punix-x86

artifacts:
  discard-paths: yes
  files: 
    - 'target/surefire-reports/**'
    - 'hs_err_pid*'
    - 'core*'
