Skip to content

Commit

Permalink
ci: Split into install and build. Iterate projects for build
Browse files Browse the repository at this point in the history
  • Loading branch information
NGenetzky committed Nov 14, 2018
1 parent 6e0e32c commit c9b61bc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions ci/po-build-projects.sh
@@ -0,0 +1,12 @@
#!/bin/bash

readonly PROJECTDIR='./projects/'

for project in $(ls "${PROJECTDIR}"); do
(
cd "${PROJECTDIR}${project}"
# po lib clean . -f &> /dev/null
# yes "no" | po lib setup # change to "yes" to prefer libraries from GitHub
po photon build
)
done
3 changes: 3 additions & 0 deletions ci/po-install.sh
@@ -0,0 +1,3 @@
#!/bin/bash
sudo apt-get update
bash <(curl -sL https://raw.githubusercontent.com/nrobinson2000/po/master/ci/ci-install)
7 changes: 2 additions & 5 deletions ci/travis.sh
@@ -1,6 +1,3 @@
#!/bin/bash
sudo apt-get update
bash <(curl -sL https://raw.githubusercontent.com/nrobinson2000/po/master/ci/ci-install)
po lib clean . -f &> /dev/null
yes "no" | po lib setup # change to "yes" to prefer libraries from GitHub
po photon build
source './ci/po-install.sh'
source './ci/po-build-projects.sh'

0 comments on commit c9b61bc

Please sign in to comment.