Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Adding ci with atom-beta on CircleCI #62

Merged
merged 4 commits into from
Aug 15, 2017
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ elif [ "${CIRCLECI}" = "true" ]; then
sudo dpkg --install atom-amd64.deb || true
sudo apt-get update
sudo apt-get -f install
export ATOM_SCRIPT_PATH="atom"
export APM_SCRIPT_PATH="apm"
if [ "${ATOM_CHANNEL}" = "stable" ]; then
export ATOM_SCRIPT_PATH="atom"
export APM_SCRIPT_PATH="apm"
else
export ATOM_SCRIPT_PATH="atom-${ATOM_CHANNEL}"
export APM_SCRIPT_PATH="apm-${ATOM_CHANNEL}"
fi
export NPM_SCRIPT_PATH="/usr/share/atom/resources/app/apm/node_modules/.bin/npm"
else
echo "Unknown CI environment, exiting!"
Expand Down