Changes between Version 5 and Version 6 of AppVeyor
- Timestamp:
- Jan 20, 2016, 8:10:54 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AppVeyor
v5 v6 36 36 See all [kwquery:appveyor related tickets]. 37 37 38 Note that if you are on Windows, you can reproduce the build locally the same way AppVeyor would do it, from a !PowerShell console.38 If you are on Windows, you can reproduce the build locally the same way AppVeyor would do it, from a !PowerShell console. 39 39 40 Note that you may need to first enable sourcing local scripts, in that shell: 40 Note that you may need to perform a few preparation steps first in that shell: 41 - enable sourcing local scripts by setting the execution policy to "unrestricted", 42 - make a **backup** of your Makefile.cfg if you have it customized (as it will be created by the scripts) 43 - make sure you have GNU `make.exe` in the Path (grab [http://sourceforge.net/projects/ezwinports/ ezmake] for example) 44 - set the environment variables that are normally set up by the "build matrix" in the configuration file, i.e. 45 - `PYTHONHOME`, to point to the Python version you want to use 46 - `TEST_TRAC_DB_URI`, as usual (see TracDev/UnitTests) 47 - `SVN_BRANCH`, to indicate the "base" branch (e.g. if you forked a topic branch from [source:cboos.git@1.0-stable 1.0-stable], set it to `1.0-stable`) 41 48 49 For example: 42 50 {{{#!ps1 43 51 > cd 1.0-stable 52 > cp Makefile.cfg Makefile.cfg.custom # if needed... 44 53 > Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process 45 54 > . .\contrib\appveyor.ps1 55 > $env:PATH = "$($env:PATH);C:/Dev/ez-make-4.1/bin" # example 46 56 > $env:PYTHONHOME = 'C:\Python27' # example 47 57 > $env:TEST_TRAC_DB_URI = 'sqlite:test.py' # example 48 > $env: APPVEYOR_REPO_BRANCH = '1.0-stable'58 > $env:SVN_BRANCH = '1.0-stable' 49 59 > $DebugPreference = "Continue" # to see the Appveyor API calls 50 60 > Trac-Install