forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move fast checks to top in Travis * circleci file * fix indent * to each circleci test their own block * have circle run couchjs stuff * remove Travis things now run by Circle * only create PLT when applications or core files were edited * make compile-test would fail to create $(GEN_OUT) $(GEN_OUT) generation calls erlc anyway * allow compile-test right after cloning * make compile-test would fail to create $(ITU) * do not duplicate erlc statements * move fast checks to top in Circle * better split work between Circle and Travis * use circle's pre|ov|post for better explicitness * elvis needs deps/ dir to build * add kz_mime to SOURCES as the var is expended too early * add kz_iso3166a2_itu to SOURCES as the var is expended too early * stop circle build on first error * expand SOURCES var as late as possible * ci: add Circle badge to README.md
- Loading branch information
Showing
7 changed files
with
68 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
machine: | ||
environment: | ||
OTP_VERSION: 18.2 | ||
PATH: ${HOME}/.kerl/$OTP_VERSION/bin:${PATH} | ||
services: | ||
- rabbitmq-server | ||
# - couchdb-server | ||
|
||
dependencies: | ||
cache_directories: | ||
- ~/.kerl | ||
pre: | ||
- | | ||
if [[ ! -d ~/.kerl/$OTP_VERSION ]]; then | ||
if [[ ! -d ~/.kerl ]]; then | ||
mkdir ~/.kerl | ||
curl -fsSLo ~/.kerl/kerl https://raw.githubusercontent.com/kerl/kerl/master/kerl | ||
chmod +x ~/.kerl/kerl | ||
~/.kerl/kerl update releases | ||
fi | ||
~/.kerl/kerl build $OTP_VERSION $OTP_VERSION | ||
~/.kerl/kerl install $OTP_VERSION ~/.kerl/$OTP_VERSION | ||
fi | ||
test: | ||
pre: | ||
- ./scripts/validate-js.sh $(find applications/ core/ -name '*.json') | ||
- ./scripts/code_checks.bash | ||
- . ~/.kerl/$OTP_VERSION/activate && make | ||
- | | ||
if [[ 0 -ne `git status --porcelain | wc -l` ]]; then | ||
echo Unstaged changes! | ||
git diff | ||
exit 1 | ||
fi | ||
- . ~/.kerl/$OTP_VERSION/activate && make xref | ||
- . ~/.kerl/$OTP_VERSION/activate && make sup_completion | ||
- | | ||
. ~/.kerl/$OTP_VERSION/activate | ||
files="$(git diff --name-only master... applications/ core/)" || true | ||
echo .$files. | ||
if [[ ! -z "$files" ]]; then | ||
make build-plt | ||
./scripts/check-dialyzer.escript .kazoo.plt $files | ||
fi | ||
- . ~/.kerl/$OTP_VERSION/activate && make build-ci-release | ||
- . ~/.kerl/$OTP_VERSION/activate && ./scripts/check-release-startup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters