Skip to content

Commit

Permalink
Merge pull request #619 from imatiach-msft/ilmat/fix-travis-build
Browse files Browse the repository at this point in the history
fix travis build due to xgboost install error
  • Loading branch information
imatiach-msft committed Jun 6, 2019
2 parents 04b16b0 + 5c2dc58 commit 441caf6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ os:
- linux
python:
- '3.6'
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get install -y gcc-4.9 g++-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
- sudo apt-get install -y libgomp1
install:
- pip install .
- pip install tensorflow keras
- pip install tensorflow keras xgboost
script: python setup.py nosetests
before_script:
- export DISPLAY=:99.0
Expand Down

0 comments on commit 441caf6

Please sign in to comment.