aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2020-10-04 10:02:10 +0100
committerLibravatar GitHub <noreply@github.com>2020-10-04 10:02:10 +0100
commit484846786ecf19c9c22794fe81d922af025ab4a4 (patch)
tree96996b85743d98af6cbd009c5eef13cb039c46cd /.travis.yml
parentFix "Open folder" button on "Custom services" screen (#991) (diff)
downloadferdium-app-484846786ecf19c9c22794fe81d922af025ab4a4.tar.gz
ferdium-app-484846786ecf19c9c22794fe81d922af025ab4a4.tar.zst
ferdium-app-484846786ecf19c9c22794fe81d922af025ab4a4.zip
Fix macOS code signing and setup automatic nightly builds (#990)
Co-authored-by: Travis CI <travis@Traviss-Mac.local> Co-authored-by: vantezzen <hello@vantezzen.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a120aae49..43e7fda20 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,20 @@ cache: npm
27 27
28before_install: 28before_install:
29 - git submodule update --init --recursive 29 - git submodule update --init --recursive
30 - |
31 if [ $TRAVIS_BRANCH == "nightly" ]; then
32 git remote add source https://${GH_TOKEN}@github.com/getferdi/ferdi.git > /dev/null 2>&1
33 git fetch source
34 git merge --no-ff --commit --no-edit source/develop
35 changes=$(git diff --stat HEAD origin/nightly | wc -l)
36 if [ $changes -eq 0 ]; then
37 travis_terminate 0;
38 else
39 git submodule update --remote --force
40 git add .
41 git commit -m "Update submodules"
42 fi
43 fi
30install: 44install:
31 - cd recipes && npm install && npm run package && cd .. 45 - cd recipes && npm install && npm run package && cd ..
32 - travis_retry npx lerna bootstrap 46 - travis_retry npx lerna bootstrap
@@ -40,7 +54,7 @@ script:
40 fi 54 fi
41 - | 55 - |
42 if [ $TRAVIS_BRANCH == "nightly" ]; then 56 if [ $TRAVIS_BRANCH == "nightly" ]; then
43 npm version prerelease --preid=nightly -m "%s [skip ci]" 57 npm version prerelease --preid=nightly -m "%s and trigger AppVeyor nightly build [skip travisci]"
44 travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies 58 travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies
45 if [ $TRAVIS_OS_NAME == "osx" ]; then 59 if [ $TRAVIS_OS_NAME == "osx" ]; then
46 git remote add nightly https://${GH_TOKEN}@github.com/getferdi/ferdi.git > /dev/null 2>&1 60 git remote add nightly https://${GH_TOKEN}@github.com/getferdi/ferdi.git > /dev/null 2>&1