Skip to content

Commit 4e7c553

Browse files
authored
Merge pull request #1151 from OpenBCI/development
GUI 5.2.0 - June 2023
2 parents d9f9312 + 6dc1ff2 commit 4e7c553

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+4494
-4171
lines changed

.travis.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
2-
language: python # this works for Linux but is an error on macOS or Windows
1+
language: python # this works for Linux but is an error on macOS or Windows
32
jobs:
4-
include:
5-
- name: "Python 3.7.4 on Xenial Linux"
3+
include:
4+
- name: "Python 3.7.4 on Xenial Linux"
65
os: linux
7-
python: 3.7.4 # this works for Linux but is ignored on macOS or Windows
8-
- name: "Python 3.7.4 on macOS"
9-
os: osx
10-
osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.6
11-
language: shell # 'language: python' is an error on Travis CI macOS
6+
python: 3.7.4 # this works for Linux but is ignored on macOS or Windows
7+
- name: "Python 3.7.4 on macOS"
8+
os: osx
9+
osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.6
10+
language: shell # 'language: python' is an error on Travis CI macOS
1211

1312
branches:
1413
only:
15-
- master
16-
- development
14+
- master
15+
- development
1716

1817
before_install:
19-
- if [ "$TRAVIS_OS_NAME" = osx ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then openssl aes-256-cbc -K $encrypted_2f5d2771e3cb_key -iv $encrypted_2f5d2771e3cb_iv -in release_script/mac_only/Certificates.p12.enc -out release_script/mac_only/Certificates.p12 -d; fi
20-
- if [ "$TRAVIS_OS_NAME" = osx ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then chmod +x release_script/mac_only/add-osx-cert.sh; fi
21-
- if [ "$TRAVIS_OS_NAME" = osx ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./release_script/mac_only/add-osx-cert.sh; fi
18+
- if [ "$TRAVIS_OS_NAME" = osx ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then openssl aes-256-cbc -K $encrypted_2f5d2771e3cb_key -iv $encrypted_2f5d2771e3cb_iv -in release_script/mac_only/Certificates.p12.enc -out release_script/mac_only/Certificates.p12 -d; fi
19+
- if [ "$TRAVIS_OS_NAME" = osx ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then chmod +x release_script/mac_only/add-osx-cert.sh; fi
20+
- if [ "$TRAVIS_OS_NAME" = osx ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./release_script/mac_only/add-osx-cert.sh; fi
2221

2322
install:
2423
# used for getting commit timestamp
@@ -28,15 +27,15 @@ install:
2827

2928
- mkdir $TRAVIS_BUILD_DIR/temp; cd $TRAVIS_BUILD_DIR/temp
3029

31-
### ### LINUX ### ###
30+
### ### LINUX ### ###
3231
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then curl -O -L --insecure https://github.com/processing/processing/releases/download/processing-0269-3.5.3/processing-3.5.3-linux64.tgz ;fi
3332
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then tar -xzvf processing-3.5.3-linux64.tgz ;fi
3433
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export PATH=$TRAVIS_BUILD_DIR/temp/processing-3.5.3:$PATH ;fi
3534
# copy libraries to linux location
3635
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then mkdir -p $HOME/sketchbook/libraries/ ;fi
3736
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cp -a $TRAVIS_BUILD_DIR/OpenBCI_GUI/libraries/. $HOME/sketchbook/libraries/ ;fi
38-
39-
### ### MAC ### ###
37+
38+
### ### MAC ### ###
4039
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then curl -O -L --insecure https://github.com/processing/processing/releases/download/processing-0269-3.5.3/processing-3.5.3-macosx.zip ;fi
4140
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then unzip processing-3.5.3-macosx.zip ;fi
4241
# Processing.app must be in this location for processing-java to work
@@ -59,12 +58,12 @@ script:
5958

6059
after_success:
6160
# delete old files in latest
62-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then aws s3 rm s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_linux64.zip" ;fi
63-
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then aws s3 rm s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg" ;fi
64-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/${GUI_VERSION_STRING}_${GUI_COMMIT_TIME} --recursive --exclude "*" --include "openbcigui_*_linux64.zip" ;fi
65-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_linux64.zip" ;fi
66-
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/${GUI_VERSION_STRING}_${GUI_COMMIT_TIME} --recursive --exclude "*" --include "openbcigui_*_macosx.dmg" ;fi
67-
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg" ;fi
61+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then aws s3 rm s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_linux64.zip" ;fi
62+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then aws s3 rm s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg" ;fi
63+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/${GUI_VERSION_STRING}_${GUI_COMMIT_TIME} --recursive --exclude "*" --include "openbcigui_*_linux64.zip" ;fi
64+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_linux64.zip" ;fi
65+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/${GUI_VERSION_STRING}_${GUI_COMMIT_TIME} --recursive --exclude "*" --include "openbcigui_*_macosx.dmg" ;fi
66+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then aws s3 cp $TRAVIS_BUILD_DIR/. s3://openbci-gui/${TRAVIS_BRANCH}/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg" ;fi
6867

6968
notifications:
7069
email:

0 commit comments

Comments
 (0)