green_heart: Fix travisCI that missed admin config. [skip ci]
@@ -113,7 +113,9 @@ jobs:
install:
- rm -rf /opt/cita-run/test-chain
- cd $TRAVIS_BUILD_DIR/target/install
- - ./env.sh ./scripts/create_cita_config.py create --nodes "127.0.0.1:4100"
+ - ./env.sh ./scripts/create_cita_config.py create
+ --nodes "127.0.0.1:4100"
+ --super_admin "0x4b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523"
- ./env.sh ./bin/cita setup test-chain/0
- ./daemon.sh ./bin/cita start test-chain/0
before_script:
@@ -158,9 +160,12 @@ jobs:
script: npm run-script uint8
- <<: *stage-contract-test-sha3-secp256k1
+ name: Unit Node
install:
- cd $TRAVIS_BUILD_DIR/target/install
- - ./env.sh ./scripts/create_cita_config.py create --nodes "127.0.0.1:4000,127.0.0.1:4001,127.0.0.1:4002"
+ - ./env.sh ./scripts/create_cita_config.py create
+ --nodes "127.0.0.1:4000,127.0.0.1:4001,127.0.0.1:4002"
+ --super_admin "0x4b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523"
- for i in {0..2} ; do
./env.sh bin/cita setup test-chain/$i
&& ./daemon.sh bin/cita start test-chain/$i ;
@@ -172,7 +177,10 @@ jobs:
name: Integrate Quota
install:
- cd $TRAVIS_BUILD_DIR/target/install
- - ./env.sh ./scripts/create_cita_config.py create --nodes "127.0.0.1:4100" --contract_arguments "SysConfig.checkQuota=true"
+ - ./env.sh ./scripts/create_cita_config.py create
+ --nodes "127.0.0.1:4100"
+ --contract_arguments "SysConfig.checkQuota=true"
+ --super_admin "0x4b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523"
- ./env.sh ./bin/cita setup test-chain/0
- ./daemon.sh ./bin/cita start test-chain/0
script:
@@ -182,7 +190,10 @@ jobs:
name: Integrate Permission
install:
- cd $TRAVIS_BUILD_DIR/target/install
- - ./env.sh ./scripts/create_cita_config.py create --nodes "127.0.0.1:4100" --contract_arguments "SysConfig.checkPermission=true"
+ - ./env.sh ./scripts/create_cita_config.py create
+ --nodes "127.0.0.1:4100"
+ --contract_arguments "SysConfig.checkPermission=true"
+ --super_admin "0x4b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523"
- ./env.sh ./bin/cita setup test-chain/0
- ./daemon.sh ./bin/cita start test-chain/0
script:
