Commit 3c1ee4b7 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

change appveyor build order

parent 40d3128d
...@@ -11,18 +11,19 @@ clone_depth: 50 ...@@ -11,18 +11,19 @@ clone_depth: 50
init: init:
- "ECHO %PYTHON_VERSION% %MINICONDA%" - "ECHO %PYTHON_VERSION% %MINICONDA%"
install: build_script:
- mkdir build && cd build
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 .. && cmake --build . --target ALL_BUILD --config Release
- cd ..
test_script:
- "set PATH=%MINICONDA%;%MINICONDA%/Scripts;%PATH%" - "set PATH=%MINICONDA%;%MINICONDA%/Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no - conda config --set always_yes yes --set changeps1 no
- conda update -q conda - conda update -q conda
- conda info -a - conda info -a
- conda install --yes numpy scipy scikit-learn pandas matplotlib - conda install --yes numpy scipy scikit-learn pandas matplotlib
- pip install pep8 pytest - pip install pep8 pytest
- cd python-package && python setup.py install && cd ..
build_script:
- mkdir build && cd build
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 .. && cmake --build . --target ALL_BUILD --config Release
- cd ../python-package && python setup.py install && cd ..
- pytest tests/c_api_test/test.py - pytest tests/c_api_test/test.py
- pytest tests/python_package_test - pytest tests/python_package_test
- pep8 --ignore=E501 --exclude=./compute,./docs . - pep8 --ignore=E501 --exclude=./compute,./docs .
......
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