.appveyor.yml 1.1 KB
Newer Older
1
version: 4.6.0.99.{build}
2

3
4
image: Visual Studio 2015
platform: x64
5
configuration:
6
  - '3.9'
Guolin Ke's avatar
Guolin Ke committed
7

8
# only build on 'master' and pull requests targeting it
9
10
11
12
branches:
  only:
    - master

Guolin Ke's avatar
Guolin Ke committed
13
14
environment:
  matrix:
15
    - COMPILER: MSVC
16
      TASK: python
17
    - COMPILER: MINGW
18
      TASK: python
Guolin Ke's avatar
Guolin Ke committed
19

20
clone_depth: 5
Guolin Ke's avatar
Guolin Ke committed
21

22
install:
23
  - git submodule update --init --recursive  # get `external_libs` folder
Nikita Titov's avatar
Nikita Titov committed
24
  - set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH%
25
  - set PYTHON_VERSION=%CONFIGURATION%
26
  - ps: |
27
28
      $env:ALLOW_SKIP_ARROW_TESTS = "1"
      $env:APPVEYOR = "true"
29
      $env:CMAKE_BUILD_PARALLEL_LEVEL = 4
30
      $env:MINICONDA = "C:\Miniconda3-x64"
31
32
      $env:PATH = "$env:MINICONDA;$env:MINICONDA\Scripts;$env:PATH"
      $env:BUILD_SOURCESDIRECTORY = "$env:APPVEYOR_BUILD_FOLDER"
Guolin Ke's avatar
Guolin Ke committed
33

34
build: false
35
36

test_script:
37
38
  - conda config --remove channels defaults
  - conda config --add channels nodefaults
39
40
  - conda config --add channels conda-forge
  - conda config --set channel_priority strict
41
  - conda init powershell
42
  - powershell.exe -ExecutionPolicy Bypass -File %APPVEYOR_BUILD_FOLDER%\.ci\test-windows.ps1