Fixed some Travis issues and other files.

This commit is contained in:
waltje
2018-04-25 21:00:09 -04:00
parent d5278a6f4a
commit cc58ed129f
3 changed files with 25 additions and 9 deletions

View File

@@ -9,7 +9,7 @@
# #
# Build script for the Travis CI remote builder service. # Build script for the Travis CI remote builder service.
# #
# Version: @(#).travis-build.sh 1.0.2 2018/04/17 # Version: @(#).travis-build.sh 1.0.3 2018/04/25
# #
# Author: Fred N. van Kempen, <decwiz@yahoo.com> # Author: Fred N. van Kempen, <decwiz@yahoo.com>
# #
@@ -62,11 +62,19 @@
# Build the project. # Build the project.
make -f win/mingw/Makefile.MinGW BUILD=${TRAVIS_BUILD_NUMBER} make -f win/mingw/Makefile.MinGW BUILD=${TRAVIS_BUILD_NUMBER}
if [ $? = 1 ]; then
echo "Build failed, not uploading."
exit 1
fi
if [ $? = 0 ]; then
echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up." echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up."
zip -9 ../${TARGET}.zip *.exe zip -9 ../${TARGET}.zip *.exe
if [ $? = 1 ]; then
echo "ZIP failed, not uploading."
exit 1
fi fi
exit 0 exit 0

View File

@@ -8,7 +8,7 @@
# #
# Project file for the Travis CI remote builder service. # Project file for the Travis CI remote builder service.
# #
# Version: @(#).travis.yml 1.0.8 2018/04/17 # Version: @(#).travis.yml 1.0.9 2018/04/25
# #
# Authors: Natalia Portillo, <claunia@claunia.com> # Authors: Natalia Portillo, <claunia@claunia.com>
# Fred N. van Kempen, <decwiz@yahoo.com> # Fred N. van Kempen, <decwiz@yahoo.com>
@@ -79,8 +79,9 @@ notifications:
irc: irc:
channels: channels:
- "chat.freenode.net#varcem-dev" - "chat.freenode.net#varcem-dev"
- "chat.freenode.net#varcem"
template: template:
- "Commit %{commit} by %{author} in %{branch} %{result} after %{duration}." - "Build #%{build_number} for #%{commit} by %{author} in %{branch} %{result}."
- "Commit changes: %{commit_subject}" - "Commit changes: %{commit_subject}"
- "Build details on %{build_url}" - "Build details on %{build_url}"
# - "Details on %{build_url}, changes on %{compare_url}" # - "Details on %{build_url}, changes on %{compare_url}"

View File

@@ -3,7 +3,7 @@
#### Fred N. van Kempen, <decwiz@yahoo.com> #### Fred N. van Kempen, <decwiz@yahoo.com>
#### Last Updated: 03/26/2018 #### Last Updated: 04/18/2018
These instructions guide you in building the **VARCem** emulator from These instructions guide you in building the **VARCem** emulator from
@@ -17,7 +17,7 @@ platforms will be added as time permits.
#### Get the sources. #### Get the sources.
Get a copy of the source tree (by cloning the GIT repository, or Get a copy of the source tree (by cloning the GIT repository, or
by downloading a ZIP archive from GIT, or from the website) and by downloading a ZIP archive from GIT, or from the website) and
unpack (if needed) them into a folder: unpack them (if needed) into a folder:
`D:` `D:`
@@ -27,7 +27,7 @@ unpack (if needed) them into a folder:
`cd src` `cd src`
`unzip varcem-0.1.3.zip` `unzip varcem-0.1.5.zip`
which puts the source tree into the *D:\VARCem\src* folder. which puts the source tree into the *D:\VARCem\src* folder.
@@ -121,3 +121,10 @@ With these steps, you have set up a build environment, suitable
to build (and develop !) the VARCem project application(s) for to build (and develop !) the VARCem project application(s) for
Windows. Windows.
There is also a **Makefile.local** file, which you can use as a base for
yourself. Copy it to just **Makefile**, and use your favorite text editor
to update the settings the way you want them. You can now just type
`make`
and it should build.