Skip to content

Commit

Permalink
[ci] refs #7 Adapt appveyor file with last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevYuniers committed Dec 6, 2018
1 parent 0df4029 commit 6885b13
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
30 changes: 13 additions & 17 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ environment:

stack: go 1.11

# Do some things before build and test
init:
# Enable Windows RDP Client Access to Build Worker
# init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

# Install dev dependencies
install:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- set PATH=%MINGW_W64%\bin;%GIT_PATH%;%PATH%
- cmd: cp %MINGW_W64%\bin\mingw32-make.exe %MINGW_W64%\bin\make.exe
- cmd: git submodule update --init --recursive --remote

# Install dev dependencies
install:
- cmd: cd %GOPATH%\src\github.com\skycoin\skycoin
- cmd: git checkout origin/stdevEclipse_t1568_swig_files
- cmd: go get github.com/gz-c/gox
Expand All @@ -38,27 +39,22 @@ install:
- cmd: 7z x swigwin-3.0.12.zip
- cmd: set PATH=%APPVEYOR_BUILD_FOLDER%\swigwin-3.0.12;%PATH%
- cmd: swig -version
- cmd: curl -fsSL -o mono-4.8.0.524-x64-0.msi https://download.mono-project.com/archive/4.8.0/windows-installer/mono-4.8.0.524-x64-0.msi
- msiexec /i mono-4.8.0.524-x64-0.msi /qn /norestart
- set PATH=c:\Program Files (x86)\Mono\bin\;%PATH%

# scripts to run before build
# packages from nuget
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- nuget restore LibskycoinNet.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
- make install-deps

# use custom build_script
build_script:
- cmd: make test
- cmd: make build

# # use custom build_script
# build_script:
# - msbuild /p:Configuration=Release LibskycoinNet.sln

# # to run tests against only selected assemblies and/or categories
# test:
# assemblies:
# only:
# - LibskycoinNetTest\bin\Release\LibskycoinNetTest.dll
test_script:
- cmd: make test

deploy: off

Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ test: build ## Run LibSkycoinNet test suite

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
>>>>>>> origin/stdevHan_t4_swig

0 comments on commit 6885b13

Please sign in to comment.