platform/tool/.travis.sh

18 lines
322 B
Bash
Raw Normal View History

2017-07-10 21:49:00 +00:00
#!/usr/bin/env bash
2019-04-08 16:58:41 +00:00
export POSTGRES_USERNAME="angel_orm"
export POSTGRES_PASSWORD="angel_orm"
2019-04-20 21:35:19 +00:00
set -ex
2019-04-08 16:58:41 +00:00
function angel_orm_test () {
cd $1;
pub get;
pub run test;
cd ..
}
cd angel_orm_generator;
pub get;
pub run build_runner build;
cd ..;
2019-04-20 21:31:31 +00:00
angel_orm_test angel_orm_postgres
angel_orm_test angel_orm_service