dist: xenial
sudo: required
language: python
python:
  - "3.6"
before_install:
  - wget https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-x64.tar.xz
  - tar xf node-v10.12.0-linux-x64.tar.xz
  - sudo mv node-v10.12.0-linux-x64 /usr/local/node
  - export PATH=/usr/local/node/bin:$PATH
install:
  - make
  - make easy-install
  - export PATH=$HOME/.nni/bin:$PATH
before_script:
  - cd test/naive
script:
  - python3 run.py
