зеркало из https://github.com/mozilla/fxa.git
chore(build): Freight dependencies
This commit is contained in:
Родитель
8b7de6f88c
Коммит
e05f06f480
|
@ -17,6 +17,8 @@ before_install:
|
|||
- "sh -e /etc/init.d/xvfb start"
|
||||
- wget http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar
|
||||
- java -jar selenium-server-standalone-2.41.0.jar &> /dev/null &
|
||||
- export FREIGHT_URL=https://freight.dev.lcip.org
|
||||
- npm install -g vladikoff/freight#v0.3.0 && freight
|
||||
|
||||
install:
|
||||
# install everything for full dev in the fxa-content-server.
|
||||
|
@ -25,12 +27,14 @@ install:
|
|||
- cp server/config/local.json-dist server/config/local.json
|
||||
- grunt l10n-create-json
|
||||
# install the resources necessary for the auth server.
|
||||
- npm install --silent git://github.com/mozilla/fxa-auth-server.git
|
||||
- cd node_modules/fxa-auth-server
|
||||
- git clone git://github.com/mozilla/fxa-auth-server.git --depth 1
|
||||
- cd fxa-auth-server
|
||||
- freight
|
||||
- npm install --silent
|
||||
- node ./scripts/gen_keys.js
|
||||
- LOG_LEVEL=error npm start &
|
||||
- sleep 10
|
||||
- cd ../..
|
||||
- cd ..
|
||||
- npm start &
|
||||
# now run the tests!
|
||||
script:
|
||||
|
|
|
@ -55,6 +55,11 @@ reference GitHub issues that this commit **Closes**.
|
|||
- **stage** - https://accounts.stage.mozaws.net/
|
||||
- **production** - https://accounts.firefox.com/
|
||||
|
||||
## Dependency Servers
|
||||
|
||||
We use [Freight](https://github.com/vladikoff/freight) to package our npm and Bower dependencies.
|
||||
Check Freight status at [freight.dev.lcip.org](https://freight.dev.lcip.org/).
|
||||
|
||||
## License
|
||||
|
||||
MPL 2.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче