platform/packages/orm/tool/.travis.sh
Tobe O 6db839928b Add 'packages/orm/' from commit 'ceb58a25b58eeabeeab5a0bb6257f144e150dc24'
git-subtree-dir: packages/orm
git-subtree-mainline: edfd785dfe
git-subtree-split: ceb58a25b5
2020-02-15 18:22:15 -05:00

18 lines
361 B
Bash

#!/usr/bin/env bash
export POSTGRES_USERNAME="angel_orm"
export POSTGRES_PASSWORD="angel_orm"
set -ex
function angel_orm_test () {
cd $1;
pub get;
pub run test;
cd ..
}
cd angel_orm_generator;
pub get;
echo 1 | pub run build_runner build --delete-conflicting-outputs;
cd ..;
angel_orm_test angel_orm_postgres
angel_orm_test angel_orm_service