Skip to content

Commit ebbb8e4

Browse files
committed
Update .travis.yml
1 parent 6bab3fb commit ebbb8e4

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

.travis.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ matrix:
1919
before_install:
2020
- brew install qt5
2121
- brew link qt5 --force
22-
- env: OS=windows
23-
os: windows
24-
25-
26-
script:
22+
#- env: OS=windows
23+
# os: windows
2724

25+
script:
2826
- if [ "$OS" = "linux" ]; then
2927
qmake "CONFIG+=MieSimulatorGUI" src/MieSimulatorGUI.pro;
3028
make -j$(nproc);
@@ -37,11 +35,10 @@ script:
3735

3836
- if [ "$OS" = "osx" ]; then
3937
qmake -config release -spec macx-xcode src/MieSimulatorGUI.pro;
40-
xcodebuild -configuration "Release" -list -project MieSimulatorGUI_continuous.xcodeproj;
38+
xcodebuild -list -project MieSimulatorGUI_continuous.xcodeproj;
4139
xcodebuild -scheme MieSimulatorGUI_continuous -configuration "Release";
4240
fi
43-
44-
41+
4542
after_success:
4643
- if [ "$OS" = "linux" ]; then
4744
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh;
@@ -52,4 +49,14 @@ after_success:
5249
wget -c https://github.com/VirtualPhotonics/MieSimulatorGUI/releases/tag/continuous/upload.sh;
5350
bash upload.sh MieSimulatorGUI*.app*;
5451
fi
52+
53+
branches:
54+
except:
55+
- # Do not build tags that we create when we upload to GitHub Releases
56+
- /^(?i:continuous)/
57+
58+
deploy:
59+
provider: releases
60+
api_key: "GITHUB_TOKEN"
61+
skip_cleanup: true
5562

0 commit comments

Comments
 (0)