Prechádzať zdrojové kódy

travis, examples: Add permissioned markets (#584)

Zorro 4 rokov pred
rodič
commit
098c2a0048

+ 1 - 0
.travis.yml

@@ -58,6 +58,7 @@ jobs:
         - pushd examples/multisig && anchor test && popd
         - pushd examples/interface && anchor test && popd
         - pushd examples/lockup && anchor test && popd
+        - pushd examples/permissioned-markets/deps/serum-dex/dex && cargo build-bpf && cd ../../../ && anchor test && popd
     - <<: *examples
       name: Runs the examples 2
       script:

+ 3 - 0
examples/permissioned-markets/Anchor.toml

@@ -5,3 +5,6 @@ wallet = "~/.config/solana/id.json"
 [[test.genesis]]
 address = "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"
 program = "./deps/serum-dex/dex/target/deploy/serum_dex.so"
+
+[scripts]
+test = "mocha -t 1000000 tests/"

+ 1 - 1
examples/permissioned-markets/deps/serum-dex

@@ -1 +1 @@
-Subproject commit 814c1fd05b00ae99d68d8f9617cc3868b7aceae1
+Subproject commit 9f776c45fa37ec80109ea1f46461a75125f3f334