Skip to content

Commit

Permalink
Merge pull request #101 from jlobos/2.1.0
Browse files Browse the repository at this point in the history
2.1.0
  • Loading branch information
revall committed Nov 18, 2019
2 parents 759503b + b37674d commit 6377385
Show file tree
Hide file tree
Showing 8 changed files with 4,992 additions and 5,861 deletions.
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ jobs:
build:
docker:
- image: circleci/node:latest

working_directory: ~/repo

steps:
Expand All @@ -15,15 +14,18 @@ jobs:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install


- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: openssl aes-256-cbc -d -in test/cookies.json-cipher -out test/cookie.json -k $KEY

# run tests!
- run: npm test
- run:
name: run tests!
command: |
export USER_NAME=$username
export PASSWORD=$password
npm test
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.idea/
node_modules
test/credentials.json
test/cookies.json
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

<p align="center">
<a href="https://www.npmjs.com/package/instagram-web-api"><img alt="NPM version" src="https://badge.fury.io/js/instagram-web-api.svg"></a>
<a href="https://travis-ci.org/jlobos/instagram-web-api"><img alt="Build Status" src="https://travis-ci.org/jlobos/instagram-web-api.svg?branch=master"></a>
<a href="https://circleci.com/gh/jlobos/instagram-web-api"><img alt="Build Status" src="https://circleci.com/gh/jlobos/instagram-web-api.svg?style=shield"></a>
<a href="https://github.com/sindresorhus/xo"><img alt="XO code style" src="https://img.shields.io/badge/code_style-XO-5ed9c7.svg"></a>

</p>

### A Instagram Private Web API client 🤳✨❤️
Expand Down
3 changes: 2 additions & 1 deletion test/helpers/index.js → helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ module.exports = {
username: 'xenia'
}
},

locations: {
Santiago: {
id: '26914683',
id: '112371848779363',
pk: 26914683,
name: 'Santiago, Chile',
address: '',
Expand Down
Loading

0 comments on commit 6377385

Please sign in to comment.