language: node_js
sudo: required
dist: precise

node_js:
  - "10"

env:
  global:
    - CC=clang CXX=clang++ npm_config_clang=1

matrix:
    include:
        - os: linux
          python: 2.7.13
        - os: osx
          language: generic
          osx_image: xcode7.3


before_install:
  - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update; sudo apt-get install build-essential -y; fi
  - node --version
  - npm --version
  - openssl version
  - python --version
  - ssh -V
  - pip -V

script:
  - npm install
  - npm test
  - python build.py


addons:
  ssh_known_hosts: web.sourceforge.net


after_success:
  - openssl aes-256-cbc -K $encrypted_906d16ae5679_key -iv $encrypted_906d16ae5679_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d
  - chmod 600 /tmp/deploy_rsa
  - scp -i /tmp/deploy_rsa dist/ScanCode*.tar.gz aboutcode-rel@web.sourceforge.net:/home/frs/project/aboutcode-manager/builds/

language: node_js
sudo: required
dist: xenial

node_js:
  - "10"

env:
  global:
    - CC=clang CXX=clang++ npm_config_clang=1

matrix:
    include:
        - os: linux
          python: 2.7.13
        - os: osx
          language: generic
          osx_image: xcode7.3


before_install:
  - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update; sudo apt-get install build-essential -y; fi
  - node --version
  - npm --version
  - openssl version
  - python --version
  - ssh -V
  - pip -V

script:
  - npm install
  - npm test
  - python build.py


addons:
  ssh_known_hosts: web.sourceforge.net


after_success:
  - openssl aes-256-cbc -K $encrypted_906d16ae5679_key -iv $encrypted_906d16ae5679_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d
  - chmod 600 /tmp/deploy_rsa
  - scp -i /tmp/deploy_rsa dist/ScanCode*.tar.gz aboutcode-rel@web.sourceforge.net:/home/frs/project/aboutcode-manager/builds/

Update to Xenial ubuntu for linux tests
Update to Xenial ubuntu for linux tests

Signed-off-by: Steven Esser <1714ae8974d418840e488f257e6f2a30cf4a6897@nexb.com>
