mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Add info about using the CI repo on plugin test
This commit is contained in:
parent
65ce0db5e1
commit
5a2e69ca86
@ -137,7 +137,7 @@ Here is a sample `.travis.yml` file, customize it to your needs
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
language: c
|
language: c
|
||||||
script: asdf plugin-test nodejs https://github.com/asdf-vm/asdf-nodejs.git 'node --version'
|
script: asdf plugin-test nodejs $TRAVIS_BUILD_DIR 'node --version'
|
||||||
before_script:
|
before_script:
|
||||||
- git clone https://github.com/asdf-vm/asdf.git asdf
|
- git clone https://github.com/asdf-vm/asdf.git asdf
|
||||||
- . asdf/asdf.sh
|
- . asdf/asdf.sh
|
||||||
@ -146,6 +146,14 @@ os:
|
|||||||
- osx
|
- osx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note:
|
||||||
|
When using another CI, you will need to check what variable maps to the repo path.
|
||||||
|
|
||||||
|
You also have the option to pass a relative path to `plugin-test`.
|
||||||
|
|
||||||
|
For example, if the test script is ran in the repo directory: `asdf plugin-test nodejs . 'node --version'`.
|
||||||
|
|
||||||
|
|
||||||
## GitHub API Rate Limiting
|
## GitHub API Rate Limiting
|
||||||
|
|
||||||
If your plugin's `list-all` depends on accessing the GitHub API, make sure you provide
|
If your plugin's `list-all` depends on accessing the GitHub API, make sure you provide
|
||||||
|
Loading…
Reference in New Issue
Block a user