Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start building on travis windows #65

Merged
merged 40 commits into from Oct 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bf2bf9c
Start building on travis windows
kivutar Oct 19, 2018
c10022d
Add openal
kivutar Oct 19, 2018
67cb79e
Debug
kivutar Oct 19, 2018
d0dbce3
Debug
kivutar Oct 19, 2018
e441aae
Debug
kivutar Oct 19, 2018
8d5721b
Debug
kivutar Oct 20, 2018
620b6eb
Debug
kivutar Oct 20, 2018
e1fc9c5
Debug
kivutar Oct 20, 2018
714d8b8
Debug
kivutar Oct 21, 2018
871900c
Debug
kivutar Oct 21, 2018
5136448
Debug
kivutar Oct 21, 2018
bbf4cf2
Debug
kivutar Oct 21, 2018
cefd7ae
Debug
kivutar Oct 21, 2018
38ac3df
Debug
kivutar Oct 21, 2018
92d6e6b
Debug
kivutar Oct 21, 2018
2e8dec3
Debug
kivutar Oct 21, 2018
6f81ace
Debug
kivutar Oct 21, 2018
ec0c448
Debug
kivutar Oct 21, 2018
4ccf7ad
Debug
kivutar Oct 21, 2018
2ad5f62
Debug
kivutar Oct 21, 2018
55ed24f
Debug
kivutar Oct 21, 2018
74417e9
Debug
kivutar Oct 21, 2018
05238d2
Debug
kivutar Oct 21, 2018
6abcf9e
Debug
kivutar Oct 21, 2018
3cc4dc3
Debug
kivutar Oct 21, 2018
c8fd458
Debug
kivutar Oct 21, 2018
f83ed42
Debug
kivutar Oct 21, 2018
ce2de1f
Debug
kivutar Oct 21, 2018
9ae7660
Debug
kivutar Oct 21, 2018
6e0a5f8
Debug
kivutar Oct 21, 2018
953a173
Debug
kivutar Oct 21, 2018
e28f6e1
Debug
kivutar Oct 21, 2018
ea7965c
Debug
kivutar Oct 21, 2018
4ca494a
Debug
kivutar Oct 21, 2018
543b77b
Try to fix go lint
kivutar Oct 21, 2018
a2f1942
Don't run go vet on windows
kivutar Oct 21, 2018
13a48dd
Install make
kivutar Oct 21, 2018
99e3b68
Code cleaning
kivutar Oct 21, 2018
fce0462
Disable appveyor
kivutar Oct 21, 2018
8c6b43f
Merge remote-tracking branch 'origin/master' into kivutar/travis-windows
kivutar Oct 21, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 0 additions & 40 deletions .appveyor.yml

This file was deleted.

16 changes: 11 additions & 5 deletions .travis.yml
Expand Up @@ -8,16 +8,22 @@ language: go
go:
- "1.9"

os:
- linux
- osx
matrix:
include:
- os: linux
- os: osx
- os: windows
env: CGO_CFLAGS="-I/c/Users/travis/openal-soft-1.19.0-bin/include/" CGO_LDFLAGS="-L/c/Users/travis/openal-soft-1.19.0-bin/build/Release/"

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository ppa:keithw/glfw3 -y; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -q; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libglfw3-dev libopenal-dev xorg-dev -y --allow-unauthenticated; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glfw openal-soft; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wget http://static.kivutar.me/openal-soft-1.19.0-bin.zip; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then 7z x openal-soft-1.19.0-bin.zip -o/c/Users/travis/openal-soft-1.19.0-bin; fi

before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
Expand All @@ -27,8 +33,8 @@ before_script:

script:
- go get -t -v ./...
- go test -v -race ./...
- go vet ./...
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then go test -v -race ./...; fi
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then go vet ./...; fi
- megacheck ./...
- gocyclo -over 19 $GO_FILES
- golint -set_exit_status $(go list ./...)
Expand Down
3 changes: 1 addition & 2 deletions libretro/libretro.go
Expand Up @@ -4,8 +4,7 @@ Package libretro is a cgo binding for the libretro API.
Libretro is a simple but powerful development interface that allows for the easy creation of
emulators, games and multimedia applications that can plug straight into any libretro-compatible
frontend. This development interface is open to others so that they can run these pluggable emulator
and game cores also in their own programs or devices.
*/
and game cores also in their own programs or devices. */
package libretro

/*
Expand Down