Skip to content

Commit

Permalink
fix CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Nov 22, 2017
1 parent 2a9b7b2 commit 7305c22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ install:

script:
- cd tests
- if [[ $TRAVIS_PYTHON_VERSION == 2* && $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then python ./test_cli.py ./cmd_list_py2.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* && $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then python ./test_cli.py ./cmd_list_py3.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2* || $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then python ./test_cli.py ./cmd_list_py2.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* || $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then python ./test_cli.py ./cmd_list_py3.txt; fi
9 changes: 5 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,21 +106,22 @@ endpoint=cn-hangzhou.log.aliyun.com
```

2. 使用特定账户
任意命令都可以通过选项`--client-name=<value>`来使用特定配置的账户, 例如:

任意命令都可以通过选项`--client-name=<value>`来使用特定配置的账户, 例如:

```shell
> aliyun log create_project ..... --client-name=test
```

将使用`test`的AK来进行操作.
将使用`test`的AK来进行操作.

某些情况下也需要跨账户操作, 例如:
某些情况下也需要跨账户操作, 例如:

```shell
> aliyun log copy_project --from_project="p1" --to_project="p1" --to_client=test
```

将`main`账户下对应的项目`p1`复制到账户`test`下的`p1`
`main`账户下对应的项目`p1`复制到账户`test`下的`p1`



Expand Down

0 comments on commit 7305c22

Please sign in to comment.