Update travis
This commit is contained in:
parent
60d8005614
commit
a698e05078
|
@ -47,11 +47,11 @@ _defaults: &defaults
|
|||
- export PATH="/home/travis/.local/share/solana/install/active_release/bin:$PATH"
|
||||
- export NODE_PATH="/home/travis/.nvm/versions/node/${NODE_VERSION}/lib/node_modules/:${NODE_PATH}"
|
||||
- yes | solana-keygen new
|
||||
- cargo install --git https://github.com/project-serum/anchor --tag v${ANCHOR_VERSION} anchor-cli --locked
|
||||
- yarn
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- <<: *defaults
|
||||
name: Runs the tests
|
||||
script:
|
||||
- anchor test
|
||||
- yarn test
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
anchor_version = "0.4.4"
|
||||
|
||||
[provider]
|
||||
cluster = "localnet"
|
||||
wallet = "~/.config/solana/id.json"
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"name": "stake",
|
||||
"version": "1.0.0",
|
||||
"description": "Programs for staking and lockups. For a technical introduction, see the [docs](./docs).",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
"doc": "docs",
|
||||
"test": "tests"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "anchor build",
|
||||
"test": "anchor test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/project-serum/stake.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/project-serum/stake/issues"
|
||||
},
|
||||
"homepage": "https://github.com/project-serum/stake#readme",
|
||||
"devDependencies": {
|
||||
"@project-serum/anchor-cli": "^0.13.2"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue