2017-11-14 00:32:04 +08:00
machine :
services :
- docker
timezone :
Europe/Berlin
environment :
MAKEFLAGS : "j4"
BUILD__ : "x86_64"
BTYPE__ : "release"
dependencies :
2018-01-06 03:07:22 +08:00
cache_directories :
2018-01-10 07:14:10 +08:00
- "~/cache"
2017-11-14 00:32:04 +08:00
pre :
- sudo apt-get update
- sudo apt-get install zip
- docker info
2018-01-06 19:23:36 +08:00
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage1
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage2
2018-01-10 07:14:10 +08:00
- ls -al ~/cache
2017-11-14 00:32:04 +08:00
compile :
override :
2018-01-06 19:23:36 +08:00
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage3
2018-01-08 02:48:55 +08:00
- ls -al ~/
2017-11-14 00:32:04 +08:00
2018-01-08 02:48:55 +08:00
- ls -al /home/ubuntu/qTox/workspace/"$BUILD__"/qtox/"$BTYPE__"/
- ls -al /home/ubuntu/qTox/workspace/"$BUILD__"/qtox/"$BTYPE__"/qtox.exe
2017-11-14 00:32:04 +08:00
- mkdir -p $CIRCLE_ARTIFACTS/"$BUILD__"/
2018-01-08 02:48:55 +08:00
- cp -av /home/ubuntu/qTox/workspace/"$BUILD__"/qtox/"$BTYPE__"/qtox.exe $CIRCLE_ARTIFACTS/"$BUILD__"/qtox_"$BTYPE__".exe
- cd /home/ubuntu/qTox/workspace/"$BUILD__"/qtox/"$BTYPE__"/ ; zip -r $CIRCLE_ARTIFACTS/"$BUILD__"/qtox_"$BUILD__"_"$BTYPE__".zip *
2018-02-28 23:31:57 +08:00
- echo "Download Artifacts for this PR at https://circleci.com/api/v1/project/qTox/qTox/latest/artifacts/0/\$CIRCLE_ARTIFACTS/x86_64/qtox_x86_64_release.zip?filter=completed&branch=$CIRCLE_BRANCH"
2017-11-14 00:32:04 +08:00
test :
override :
2018-01-09 23:01:46 +08:00
- "true"