Commit 6f21b8d7 authored by Dr.李's avatar Dr.李

using trusty

parent 254d1e44
...@@ -3,7 +3,8 @@ python: ...@@ -3,7 +3,8 @@ python:
- "3.5" - "3.5"
- "3.6" - "3.6"
# command to install dependencies # command to install dependencies
sudo: true sudo: enabled
dist: trusty
addons: addons:
apt: apt:
packages: packages:
...@@ -15,9 +16,9 @@ install: ...@@ -15,9 +16,9 @@ install:
# version is the same. # version is the same.
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update - sudo apt-get -qq update
- sudo apt-get -qq install g++-5 - sudo apt-get -qq install g++
- sudo apt-get -qq install gcc-5 - sudo apt-get -qq install gcc
- export CXX="g++-5" CC="gcc-5" # - export CXX="g++-5" CC="gcc-5"
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda - bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH" - export PATH="$HOME/miniconda/bin:$PATH"
...@@ -36,7 +37,6 @@ install: ...@@ -36,7 +37,6 @@ install:
- conda install pandas - conda install pandas
- conda install scikit-learn - conda install scikit-learn
- conda install cython - conda install cython
- conda install libgcc
- pip install cvxopt - pip install cvxopt
- pip install cvxpy - pip install cvxpy
- pip install simpleutils - pip install simpleutils
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment