Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

- Fixed Pip issue in the Jenkinsfile

- Modified the accessibilityIdentifier of the Cliqz tabs button
- Modified the accessibilityValue of the Cliqz forget mode button
  • Loading branch information
mahmoud-adam85 authored and Tim Palade committed May 9, 2018
1 parent fac6e63 commit 6c62acb29877d2e85305a090337ac243e2bccb39
Showing with 7 additions and 3 deletions.
  1. +1 −0 Cliqz/Tab Tray/CliqzForgetModeButton.swift
  2. +1 −1 Cliqz/URLBar/CliqzTabToolbar.swift
  3. +5 −2 Jenkinsfile
@@ -24,6 +24,7 @@ class CliqzForgetModeButton: UIButton, Themeable {

func applyTheme(_ theme: Theme) {
setTitleColor(UIColor.CliqzTabTray.ButtonText.colorFor(theme), for: [])
accessibilityValue = isSelected ? PrivateModeStrings.toggleAccessibilityValueOn : PrivateModeStrings.toggleAccessibilityValueOff
}

func setSelected(_ selected: Bool, animated: Bool = true) {
@@ -24,7 +24,7 @@ class CliqzTabToolbarHelper: TabToolbarHelper {
toolbar.stopReloadButton.setImage(UIImage.templateImageNamed("cliqz-nav-refresh"), for: .normal)
toolbar.menuButton.setImage(UIImage.templateImageNamed("cliqz-nav-menu"), for: .normal)
toolbar.tabsButton.setImage(UIImage.templateImageNamed("cliqz-nav-tabs"), for: .normal)
toolbar.tabsButton.accessibilityIdentifier = "TabToolbar.tabButton"
toolbar.tabsButton.accessibilityIdentifier = "TabToolbar.tabsButton"
}

}
@@ -30,10 +30,13 @@ node('mac-mini-ios') {
sh '''#!/bin/bash -l
set -e
set -x
chmod 0755 autobots/requirements.txt
sudo -H pip install -vvvr autobots/requirements.txt
brew update
brew list carthage &>/dev/null || brew install carthage
brew list python2 &>/dev/null || brew install python2
sudo -H python2 -m ensurepip
chmod 0755 autobots/requirements.txt
sudo -H python2 -m pip install -vvvr autobots/requirements.txt
'''
}
stage('Setup Build Environment') {

0 comments on commit 6c62acb

Please sign in to comment.