Skip to content

Commit

Permalink
[ci] refs #17 - Modify appveyor.yml, set an environment variable to
Browse files Browse the repository at this point in the history
check the operating system.
  • Loading branch information
stdevNorge committed Jun 26, 2018
1 parent dcd109b commit dac9ecf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Compilation output
PWD = $(shell pwd)
ifeq ($(OS),"win")
ifeq ($(OS),Windows_NT)
GOPATH_DIR = "C:\projects\pyskycoin\gopath"
echo "windows"
@echo windows
else
echo "linux"
GOPATH_DIR = $(PWD)/gopath
@echo linux
endif
SKYCOIN_DIR = gopath/src/github.com/skycoin/skycoin
SKYBUILD_DIR = $(SKYCOIN_DIR)/build
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ install:
build: off

test_script:
- '%CYG_BASH% -lc "export OS=Windows_NT"'
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER && make test"'

0 comments on commit dac9ecf

Please sign in to comment.